Subject: Re: misc/6046: New CWARNFLAGS not unsettable
To: Erik Bertelsen <>
From: Todd Vierling <>
List: netbsd-bugs
Date: 08/26/1998 13:44:42
On Wed, 26 Aug 1998, Erik Bertelsen wrote:

: In principle, I agree, but currently -- with egcs 1.1 -- I have a few
: situations, where I get 'funny' warnings that aren't easily handled, e.g.
: the -G related warnings on pmax and two places where egcs on the m(ac)68k
: complains about bad alignment requirements that don't seem to be fatal.

The -G related warnings need to be fixed in CC1_SPEC.  I have an idea of a
fix and would like to send you a patch if possible.

: To force compilation in those cases I have to change, if I
: cannot otherwise turn off -Werror.

Setting CWARNFLAGS with a ?= isn't correct either.

I could add -Werror to the CFLAGS _before_ CWARNFLAGS, of course, and you
can use "CWARNFLAGS=-Wno-error".  If that's acceptable I'll add it and close
the PR.

-- Todd Vierling (Personal; Bus.