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'

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 c

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

Re: Portability of #warning in /usr/include

2001-08-27 Thread Garance A Drosihn
At 1:47 PM -0500 8/27/01, Alfred Perlstein wrote: >* 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 compil

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 o

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 "unsubscr