Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Mar 2010 10:31:07 -0700
From:      Garrett Cooper <yanefbsd@gmail.com>
To:        Mario Lobo <lobo@bsd.com.br>
Cc:        freebsd-hackers@freebsd.org, Ryan Stone <rysto32@gmail.com>, FreeBSD-Questions@freebsd.org
Subject:   Re: Compiling kernel with gcc43
Message-ID:  <7d6fde3d1003251031v3564bc5q6ecea8de125947f5@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
On Thu, Mar 25, 2010 at 10:18 AM, Mario Lobo <lobo@bsd.com.br> wrote:
> 2010/3/25 Ryan Stone <rysto32@gmail.com>
>
>> If you just want to try it out you could disable -Werror for your own
>> build. =A0The reason that gcc 4.3 fails where 4.2 works fine is that the
>> gcc developers are adding new warnings with every compiler release, so
>> until somebody takes the time to fix all of the new warnings you won't
>> be able to build the kernel with -Werror.
>>
>
> All right !! Thanks for replying !
>
> There are a lot of locations throughout the source code where -Werror is
> enabled
> How can I disable -Werror globally? via src.conf ? will it do it for
> world/kernel?
> will this "damage" the resulting kernel/world binaries?

-Wno-error .
-Garrett



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