This is the mail archive of the
mailing list for the GCC project.
Re: Wmissing-parameter-type (PR7651 Define -Wextra strictly in terms of other warning flags)
"Manuel López-Ibáñez" <email@example.com> writes:
> I would say that it is not a new warning but...whatever, OK, I
> withdraw the patch and I will resubmit with its corresponding new
It's not a new warning, but it is a new *option*. You'll need test
cases that test various cases:
1. No option specified
2. Option on (warn), option off (no warn)
3. Option on, marked as an error, marked as a warning overriding -Werror
It's the command line processing that you're testing, not just the
code that recognizes the warning in the code.