Re: [Sablevm-developer] suggestion errors on warning by platform
Brought to you by:
egagnon
From: Grzegorz B. P. <ga...@de...> - 2004-05-12 04:40:49
|
On (11/05/04 23:50), David B?langer wrote: > > Hi, > > I would like to suggest to have errors on warning on by default for the > staging branch for platforms where warnings should not occur: > Linux on ppc, x86 and maybe other CPU archs. I think only on ppc and x86. If I recall correctly none of the others compiles w/o warnings. I'd attribute it to GCC though. > On other platforms, it would be off by default. > > Sometimes warnings are difficult to see through the output. > > What do you think? Good idea. We already have --disable-errors-on-warnings which are useful if you turn on debug mode no non-intel, non-ppc platform. I guess you could build upon that. Just try to avoid things we have to switch while migrating code from staging to bugfree and further. I'd suggest you use something like that: case $PACKAGE_VERSION in staging*) case $host in i*86*-*-gnu) turn on errors on warnings ;; powerpc-*) turn on errors on warings ;; ... esac ... esac Looking at generated ./configure, it seems that you could as well use $VERSION or $RELEASE in place of $PACKAGE_VERSION. Not sure which one would be the best choice. HTH GBP -- Grzegorz B. Prokopski <ga...@de...> Debian GNU/Linux http://www.debian.org SableVM - LGPLed JVM http://www.sablevm.org Why SableVM ?!? http://devel.sablevm.org/wiki/WhySableVM |