This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


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

Using varargs.h with C++ <iostream>



The <varargs.h> header does some work to #undef# conflicts
from <stdarg.h>, but the reverse doesn't seem to be true.
Also, <iostream> eventually includes <stdarg.h> through
streambuf.h

This results in a situation where <varargs.h> will work
properly if it is included after <iostream> but not if it
is included before.  Is this intended?

(all of the above observations are made wrt the 8/24 snapshot)


- Josh

jstern@citilink.com



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