public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/18236] New: wchar.h does not define the va_list type
@ 2015-04-10 10:24 nszabolcs at gmail dot com
  0 siblings, 0 replies; only message in thread
From: nszabolcs at gmail dot com @ 2015-04-10 10:24 UTC (permalink / raw)
  To: glibc-bugs

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.


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-04-10 10:24 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-04-10 10:24 [Bug libc/18236] New: wchar.h does not define the va_list type nszabolcs at gmail dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).