This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

gcc 2.7.2 and -Wsign-compare


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]