This is the mail archive of the libc-alpha@sources.redhat.com 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]

Re: glibc 2.1.1pre2 breaks libstdc++-v3 build


There's also a bogus warning issue here: building GCC now shows many "ISO
C99 requires rest arguments to be used" warnings - coming from uses of
printf (macro) with one argument.  As this variadic macro is defined in a
system header, I don't think -pedantic should complain about its uses.

#  define printf(fmt, args...) fprintf (stdout, fmt, ##args)

...

printf("foo");

-- 
Joseph S. Myers
jsm28@cam.ac.uk


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