I refer to the very frequent warnings about signed/unsigned mismatches. Can I please say this:
What does it matter if the signedness of pointers don't match? Surely it only *really* matters when a pointer is actually dereferenced. That is the only time when signedness really matters. The rest of the time you should be able to switch between signed/unsigned to your heart's content because it doesn't have any effect. Why should a compiler generate warning messages about something that is quite irrelevant? It is only when you actually use a signed/unsigned pointer that the signedness has any effect! Please exclude those warnings from the -Wall setting and only have them enabled if explicitly requested by some fastidious programmer who has pedants in his/her pants. -- Summary: gcc outputs unnecessary warnings Product: gcc Version: 4.0.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: jw203198 at hotmail dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25173