This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/18236] New: wchar.h does not define the va_list type
- From: "nszabolcs at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Fri, 10 Apr 2015 10:24:00 +0000
- Subject: [Bug libc/18236] New: wchar.h does not define the va_list type
- Auto-submitted: auto-generated
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.