undef's on solaris

Chris Prince prince@wcug.wwu.edu
Fri Oct 8 22:10:00 GMT 1999


On a Solaris machine for some reason you have in the file std_cstdio.h
there is a specific undef of several ANSI C calls 

// Macros in Solaris 2.5.1.  
# if defined(__sparc__) && defined(__svr4__)
# undef clearerr 
# undef feof 
# undef ferror 
# undef getc 
# undef getchar 
# undef putc 
# undef putchar 
# undef stdin 
# undef stdout 
# undef stderr 
# endif

why is that?  This was from version 2.90.6 and gcc 2.95.1  This seems odd
to me.  Oh I would have looked through the archives but apparently the
server is down or connections are being rejected or something.

Chris :)
prince@wcug.wwu.edu
===================
What is "Windows 95/98"?
32 bit extensions for a 16 bit patch to an 8 bit operating system
originally coded for a 4 bit microprocessor written by a 2 bit company
that can't stand 1 bit of competition





More information about the Libstdc++ mailing list