On Tue, 26 Feb 2002, Garrett Wollman wrote:

> <<On Mon, 25 Feb 2002 23:35:12 -0700 (MST), "M. Warner Losh" <[EMAIL PROTECTED]> said:
>
> > volatile int conspeed;
> > int *foo = &conspeed;
>
> The answer to this is....
>
> Not all warnings are indicative of errors.  It is unreasonable to
> expect all warnings to be removed, since the compiler has insufficient
> knowledge to be able to determine whether this usage is safe or not.

It should be possible to tell it to at least not convert individual
warnings to errors, using something like lint markup.  IIRC, TenDRA
uses #pragma for related things in its headers.

Bruce


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

Reply via email to