On 2003-02-09 19:13 +0000, 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
> > headers.
> It is an ANSI compliant preprocessor directive.  Please use an ANSI
> compliant compiler.
> Have you actually looked at the line?  It's protected by
> "#if __GNUC__", so your compiler shouldn't be trying to interpret
> any directives other than "#else", "#elif", or "#endif" (or the
> premature end of the file).

This is a known problem with the overaggressive preprocessor. Things
like this will get fixed as time permits, or new volunteers pop up :)

Munish Chopra

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to