Subject: Re: AbiWord on Linux/Alpha
From: Kevin Vajk (kvajk@ricochet.net)
Date: Tue Feb 08 2000 - 23:06:55 CST
On Tue, 8 Feb 2000 sterwill@abisource.com wrote:
> I think someone should probably take a look at toning down GCC's
> warning level.  It really is set to throw every warning it can find,
> except for some really, really obscure ones.
On Linux, I can get rid of the unused parameter warnings just by
removing the "-W" from abi/src/config/platforms/linux.mk.  (I'd
leave in "-Wall -ansi -pedantic", though.)
- Kevin Vajk
  <kvajk@ricochet.net>
--- abi/src/config/platforms/linux.mk.orig      Tue Feb  8 20:34:41 2000
+++ abi/src/config/platforms/linux.mk   Tue Feb  8 20:35:35 2000
@@ -65,7 +65,7 @@
 # NOTE:  more stylistic warnings.  -pedantic just gets really picky about
 # NOTE:  ANSI things.
 ifdef ABI_OPT_DEBUG
-OPTIMIZER      = -g -Wall -W -ansi -pedantic
+OPTIMIZER      = -g -Wall -ansi -pedantic
 DEFINES                = -DDEBUG -UNDEBUG
 OBJ_DIR_SFX    = DBG
 else
@@ -73,7 +73,7 @@
 # NOTE:  when optimizations are enabled in the compilation.  For this reason,
 # NOTE:  building with optimizations may reveal further warnings not 
 # NOTE:  visible without any -O[number] option.
-OPTIMIZER      = -O2 -Wall -W -ansi -pedantic
+OPTIMIZER      = -O2 -Wall -ansi -pedantic
 DEFINES                =
 OBJ_DIR_SFX    = OBJ
 endif
This archive was generated by hypermail 2b25 : Tue Feb 08 2000 - 23:03:11 CST