On Tue, 8 Feb 2000 [EMAIL PROTECTED] 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
<[EMAIL PROTECTED]>
--- 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