This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
gcc 2.7.2 and -Wsign-compare
- To: <gcc-help at gcc dot gnu dot org>
- Subject: gcc 2.7.2 and -Wsign-compare
- From: Antti Kerola <ktanker at uta dot fi>
- Date: Wed, 23 May 2001 15:49:37 +0300 (EET DST)
- cc: <ktanker at uta dot fi>
Is there any other way besides using the optition "-W" to get warnings
concerning comparisons between signed and unsigned integers
when using gcc 2.7.2?
gcc 2.7.2 doesn't seem to recognize the option "-Wsign-compare"
understood by the newer gcc versions.
I don't want to use the option "-W" because it causes warnings due to
unused parameters when used together with the option "-Wunused" (an
option which I would like to use)
Alternatively, is there a way to turn off the warnings concerning
unused parameters when using the options "-W" and "-Wunused"
together.
Thanks.
Antti