Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: CVS commit: src/sys/conf
----- Original Message ----
> Gregory McGarry wrote:
> > Module Name: src
> > Committed By: gmcgarry
> > Date: Sat Jun 21 01:00:43 UTC 2008
> >
> > Modified Files:
> > src/sys/conf: Makefile.kern.inc
> >
> > Log Message:
> > pcc needs -Wno-unreachable-code.
>
> Your commit in the pcc repository says, NetBSD needs
> this option.
>
> Why is this needed at all ?
>
> Christoph
gcc assumes -Wno-unreachable-code when -Wall is used.
So I made it explicitly clear in the NetBSD files that -Wno-unreachable-code is
required to compile the NetBSD kernel.
pcc used to always warn about unreachable code. Now it assumes
-Wunreachable-code when -Wall is used.
So I added an option -Wno-unreachable-code, because NetBSD needs it.
-- Gregory McGarry <g.mcgarry%ieee.org@localhost>
Get the name you always wanted with the new y7mail email address.
www.yahoo7.com.au/mail
Home |
Main Index |
Thread Index |
Old Index