Re: [PATCH] Compile pcc again with gcc 4.3 [try 2]
Thorsten Glaser <tg <at> mirbsd.de>
2009-08-05 07:48:44 GMT
Ted Unangst dixit:
>On Tue, Aug 4, 2009 at 6:06 PM, Detlef Riekenberg<pcc.dev <at> web.de> wrote:
[ my --enable-werror suggestion ]
>> Always disable -Werror is not needed.
On some platforms, it is. The current system is evil hackery anyway.
Makefile should not butcher CFLAGS like this.
For what it’s worth, --disable-werror is the same, just a different
default. How does t̲h̲a̲t̲ sound?
>is there a reason not to add a void cast and avoid all this fuss?
gcc ignores that cast to void. Damn pile of crap, it is.
>or what about checking the error?
Not always possible or reasonable, but better than using a dummy
variable which causes warnings with other, more clueful, bootstrap
compilers. (I h̲a̲d̲ the problem with nice in mksh; I chose to ignore
that one warning.)
//mirabilos
--
--
“It is inappropriate to require that a time represented as
seconds since the Epoch precisely represent the number of
seconds between the referenced time and the Epoch.”
(Continue reading)