This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Using varargs.h with C++ <iostream>
- To: egcs at cygnus dot com
- Subject: Using varargs.h with C++ <iostream>
- From: Josh Stern <jstern at citilink dot com>
- Date: Wed, 2 Sep 1998 00:00:48 -0500 (CDT)
- Posted-Date: Wed, 2 Sep 1998 00:00:48 -0500 (CDT)
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