C conformance.

2003-02-11 Thread Garrett Wollman
On Sun, 09 Feb 2003 19:43:38 +0100, Marcin Dalecki [EMAIL PROTECTED] 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

Re: C conformance.

2003-02-11 Thread Juli Mallett
* De: Garrett Wollman [EMAIL PROTECTED] [ Data: 2003-02-11 ] [ Subjecte: C conformance. ] On Sun, 09 Feb 2003 19:43:38 +0100, Marcin Dalecki [EMAIL PROTECTED] said: Trying to use a compiler different from GCC I have found the folowing error /usr/include/sys/syslimits.h, line 42

Re: C conformance.

2003-02-11 Thread Garance A Drosihn
At 7:01 PM -0500 2/11/03, Garrett Wollman wrote: On Sun, 09 Feb 2003, Marcin Dalecki [EMAIL PROTECTED] 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,

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

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

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 system

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 is an

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 attributes

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 somthing like to

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 appear in system

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 compliant, not