Date: Sun, 09 Feb 2003 19:13:07 -0800 From: Terry Lambert <tlambert2@mindspring.com> To: Marcin Dalecki <mdcki@gmx.net> Cc: freebsd-current@freebsd.org Subject: Re: C conformance. Message-ID: <3E4718C3.EB0A28E4@mindspring.com> References: <3E46A15A.3090909@gmx.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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). -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3E4718C3.EB0A28E4>