This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Missing warning about uninitialized variable.
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