g++ 2.96 -W issues bogus warning for conditional expression with enum and unsigned

Martin v. Loewis martin@loewis.home.cs.tu-berlin.de
Thu Jul 6 11:47:00 GMT 2000


> Documentation? You want documentation? There's no section in gcc.texi
> describing the rationale for particular warnings, perhaps there should
> be.

Each of the warning flags has explanation what warnings it
produces. For -W, there is a list of specific warnings that it
triggers. I think this list should be complete. If nobody volunteers
to systemaically check whether all extra warnings are explained there,
we should at least add documentation whenever we detect such a case.

Regards,
Martin



More information about the Gcc-bugs mailing list