This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libc/18236] New: wchar.h does not define the va_list type


https://sourceware.org/bugzilla/show_bug.cgi?id=18236

            Bug ID: 18236
           Summary: wchar.h does not define the va_list type
           Product: glibc
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: libc
          Assignee: unassigned at sourceware dot org
          Reporter: nszabolcs at gmail dot com
                CC: drepper.fsp at gmail dot com

as an extension to ISO C, POSIX-2008 requires the va_list type to be defined in
wchar.h

http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/wchar.h.html

the following code fails:

#define _POSIX_C_SOURCE 200809
#include <wchar.h>
void f()
{
va_list ap; // error: unknown type name 'va_list'
}

-- 
You are receiving this mail because:
You are on the CC list for the bug.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]