Re: Portability of #warning in /usr/include

2001-08-28 Thread Terry Lambert
Mark D. Anderson wrote: This may not work. ... Some of those compilers would NOT let you '#ifdef' out the version that it did not recognize (perhaps thinking that '#warn' or '#warning' might be some gross typo for '#else' or '#endif', I guess...). this is true; some compilers seem

Re: Portability of #warning in /usr/include

2001-08-28 Thread Erik Trulsson
On Mon, Aug 27, 2001 at 06:42:28PM -0700, Mark D. Anderson wrote: This may not work. ... Some of those compilers would NOT let you '#ifdef' out the version that it did not recognize (perhaps thinking that '#warn' or '#warning' might be some gross typo for '#else' or '#endif', I

Portability of #warning in /usr/include

2001-08-27 Thread Charles Randall
I've noted that several include files in /usr/include use the C preprocessor #warning directive. This isn't standard C and prevents some software from compiling using a compiler like TenDRA. What's the current opinion on this? Charles To Unsubscribe: send mail to [EMAIL PROTECTED] with

Re: Portability of #warning in /usr/include

2001-08-27 Thread Alfred Perlstein
* Charles Randall [EMAIL PROTECTED] [010827 12:44] wrote: I've noted that several include files in /usr/include use the C preprocessor #warning directive. This isn't standard C and prevents some software from compiling using a compiler like TenDRA. What's the current opinion on this? My

Re: Portability of #warning in /usr/include

2001-08-27 Thread Mark D. Anderson
This may not work. ... Some of those compilers would NOT let you '#ifdef' out the version that it did not recognize (perhaps thinking that '#warn' or '#warning' might be some gross typo for '#else' or '#endif', I guess...). this is true; some compilers seem to require that #ifdef'd out code