Package segfaults when built with -O2 but not with -O0

Kevin Kofler kevin.kofler at chello.at
Sat Nov 19 00:31:02 UTC 2011


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



More information about the devel mailing list