Ticket #9 (defect)

Opened 8 years ago

Last modified 8 years ago

comparison between signed and unsigned variables

Status: closed (fixed)

Reported by: johans@stack.nl Assigned to: ben
Priority: normal Milestone:
Component: library Version:
Severity: normal Keywords:
Cc:

Compiling the source code with -W (enabling extra warnings) leads to a bunch of signed vs. unsigned comparison warnings. Although most of these are harmless as values stay between zero and maxint, I'm not sure about all. Also spotted a few "missing initializer" warnings.

It would be reassuring if the source compiled without warnings using -W (I ran with gcc 342).

Change History

10/25/05 15:20:16: Modified by ben

  • owner changed from rachel to ben.

10/25/05 15:21:29: Modified by ben

  • status changed from new to closed.
  • resolution set to fixed.

I never knew -W -Wall gave more warnings than -Wall!

Anyway, this is now one by default, and all warnings fixed (as of r250).