Re: C conformance.

2003-02-11 Thread Garance A Drosihn
At 7:01 PM -0500 2/11/03, Garrett Wollman wrote: < said: > Trying to use a compiler different from GCC I have found the > folowing error: > "/usr/include/sys/syslimits.h", line 42: Error: > [ISO 6.8]: Unknown preprocessing directive, '#warning'. It should probably be a #error instead.

Re: C conformance.

2003-02-11 Thread Juli Mallett
* De: Garrett Wollman <[EMAIL PROTECTED]> [ Data: 2003-02-11 ] [ Subjecte: C conformance. ] > < said: > > > Trying to use a compiler different from GCC I have found the folowing error > > "/usr/include/sys/syslimits.h", line 42: Error: > >

C conformance.

2003-02-11 Thread Garrett Wollman
< said: > Trying to use a compiler different from GCC I have found the folowing error > "/usr/include/sys/syslimits.h", line 42: Error: >[ISO 6.8]: Unknown preprocessing directive, '#warning'. It should probably be a #error instead. -GAWollman To Unsubscribe: send mail to [EMAIL PROTECTED]

Re: C conformance.

2003-02-09 Thread Terry Lambert
Munish Chopra wrote: > >It is an ANSI compliant preprocessor directive. Please use an ANSI > >compliant compiler. > > I'd also be curious to know in which version of the ANSI standard you > have found #warning. I certainly doesn't appear in mine. I said that the use of the directive was complian

Re: C conformance.

2003-02-09 Thread Munish Chopra
Terry Lambert wrote: >Marcin Dalecki wrote: >> Trying to use a compiler different from GCC I have found the folowing >error >> >> "/usr/include/sys/syslimits.h", line 42: Error: >>[ISO 6.8]: Unknown preprocessing directive, '#warning'. >> >> I think that somthing like to above should not appe

Re: C conformance.

2003-02-09 Thread Munish Chopra
On 2003-02-09 19:13 +, Terry Lambert wrote: > Marcin Dalecki wrote: > > Trying to use a compiler different from GCC I have found the folowing error > > > > "/usr/include/sys/syslimits.h", line 42: Error: > >[ISO 6.8]: Unknown preprocessing directive, '#warning'. > > > > I think that somth

Re: C conformance

2003-02-09 Thread Terry Lambert
Marcin Dalecki wrote: > The following ain't pretty as well: > > "/usr/include/machine/signal.h", line 130: Error: >[Syntax]: Parse error before '__aligned'. >[Syntax]: Can't recover from this error. You need to add a compiler specific section to /sys/sys/cdefs.h, which defined cdefs attri

Re: C conformance.

2003-02-09 Thread Terry Lambert
Marcin Dalecki wrote: > Trying to use a compiler different from GCC I have found the folowing error > > "/usr/include/sys/syslimits.h", line 42: Error: >[ISO 6.8]: Unknown preprocessing directive, '#warning'. > > I think that somthing like to above should not appear in system > headers. It i

Re: C conformance.

2003-02-09 Thread Mike Barcroft
Marcin Dalecki <[EMAIL PROTECTED]> writes: > Trying to use a compiler different from GCC I have found the folowing error > > "/usr/include/sys/syslimits.h", line 42: Error: >[ISO 6.8]: Unknown preprocessing directive, '#warning'. > > I think that somthing like to above should not appear in sy

C conformance

2003-02-09 Thread Marcin Dalecki
The following ain't pretty as well: "/usr/include/machine/signal.h", line 130: Error: [Syntax]: Parse error before '__aligned'. [Syntax]: Can't recover from this error. -- Marcin Dalecki To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the m

C conformance.

2003-02-09 Thread Marcin Dalecki
Trying to use a compiler different from GCC I have found the folowing error "/usr/include/sys/syslimits.h", line 42: Error: [ISO 6.8]: Unknown preprocessing directive, '#warning'. I think that somthing like to above should not appear in system headers. -- Marcin Dalecki To Unsubscribe: send