Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Mar 2010 13:30:29 -0400
From:      Ryan Stone <rysto32@gmail.com>
To:        Mario Lobo <lobo@bsd.com.br>
Cc:        freebsd-hackers@freebsd.org, FreeBSD-Questions@freebsd.org
Subject:   Re: Compiling kernel with gcc43
Message-ID:  <bc2d971003251030u24c21110s4ba56e2ac82d196f@mail.gmail.com>
In-Reply-To: <9884b5281003251018g2599bfc9nec53b84253372e42@mail.gmail.com>
References:  <201003242258.05830.lobo@bsd.com.br> <9884b5281003250924i462eee68uf2a7eba7dd864033@mail.gmail.com> <bc2d971003251004r737a50cfmbf8df8d6cddbcd5c@mail.gmail.com> <9884b5281003251018g2599bfc9nec53b84253372e42@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
-Wnoerror should disable it, but I don't know enough about the FreeBSD
build infrastructure to tell you where it needs to go.  Worst comes to
worst you can just delete all of the -Werrors.

Disabling -Werror will not cause any problems.  -Werror means "treat
warnings as errors".  It's very useful for development but in your
case, where you're starting with a known good source tree with no
warnings with earlier compilers, it's not necessary to have the option
enabled.  If the warnings are pointing to legitimate bugs, those bugs
also exist in a kernel built by gcc 4.2, so your kernel can't be any
worse than what you already have.



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