Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/sys/conf



> pcc needs -Wno-unreachable-code (NetBSD tree) and
> NetBSD needs -Wno-unreachable-code (pcc tree)

Hmm.

I can't see which NetBSD's Makefile requires
-Wunreachable-code option explicitly, but maybe
newly implemented pcc's -Wunreachable-code
(enabled by -Wall?) generates warnings on
some kernel sources where gcc doesn't complain?

Anyway, if -Wno-unreachalbe-code is required only
for pcc compiler in Makefile.kern.inc, I agree
it should be enabled only in !HAVE_GCC case.
---
Izumi Tsutsui


Home | Main Index | Thread Index | Old Index