Missing warning about uninitialized variable.
Tom St Denis
tstdenis@ellipticsemi.com
Thu Nov 29 18:22:00 GMT 2007
Sven Eschenberg wrote:
> Bailing out with an error could be perfectly unreasonable.
Ideally you should use -Werror and/or perform parameter checking. a 2
mod 3 number of parameters may be "invalid" but if you don't actually
act on it your program cannot be verified.
Granted I never use -Werror as I don't care about a lot of the minor
violations (.e.g. passing a long to %d in a homebrew behind the scenes
test program).
Tom
More information about the Gcc-help
mailing list