Paul Howarth wrote:
Hmm, thanks for that. I naively assumed that -Wall was "all
warnings"!
I'll look into those.
Indeed, -Wall is not really all. :-) -Wall -Wextra is closer to all, but
there are still some things those won't warn about, e.g. -Wwrite-strings
catches places which use a string literal as a potentially writable char *
instead of a const char *.
Kevin Kofler