Re: RFC: (Unconditionally) enable -fno-strict-overflow for kernel builds

From: Peter Wemm <peter_at_wemm.org>
Date: Sat, 30 Nov 2013 20:26:18 -0800
On Sat, Nov 30, 2013 at 4:33 PM, Adrian Chadd <adrian_at_freebsd.org> wrote:
[..]
> Are you able to have clang/llvm/gcc tell us where/when code is relying
> on undefined behaviour? So we can, like, fix them?

It wasn't all that long ago that we had this wonderful thing called
-Werror and had a clean kernel build.

The problem is that gcc and clang have different warning sets.  I seem
to recall we had -Werror on for gcc and off for clang.  IMHO it would
be more useful to do it the other way around.

-- 
Peter Wemm - peter_at_wemm.org; peter_at_FreeBSD.org; peter_at_yahoo-inc.com; KI6FJV
UTF-8: for when a ' just won\342\200\231t do.
Received on Sun Dec 01 2013 - 03:26:20 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:44 UTC