Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 6 Nov 2011 20:33:16 +0000
From:      Alexander Best <arundel@freebsd.org>
To:        Ed Schouten <ed@80386.nl>
Cc:        freebsd-toolchain@freebsd.org
Subject:   Re: [poc] buildkernel + clang + -Werror
Message-ID:  <20111106203316.GA73216@freebsd.org>
In-Reply-To: <20111106172835.GO2258@hoeg.nl>
References:  <20111105102102.GA54596@freebsd.org> <20111106172835.GO2258@hoeg.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun Nov  6 11, Ed Schouten wrote:
> Hello Alexander!
> 
> Even though that I agree that Clang is sometimes a bit picky, we'd
> better spend the time fixing the actual bugs in the code. I am more than
> willing to commit patches that fix actual warnings/errors in code.

the problem is, something like

uint x;

if (x < 0) ...

clang will warn about this, yet it is 100% valid code so my vote would be to
make such an error into a warning.

the same with 

int x;

x = x;

i believe in both cases clang is too picky.

cheers.
alex

> 
> -- 
>  Ed Schouten <ed@80386.nl>
>  WWW: http://80386.nl/





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20111106203316.GA73216>