Warning usage
Jeffrey Walton
noloader@gmail.com
Thu Oct 21 20:45:00 GMT 2010
On Thu, Oct 21, 2010 at 4:01 PM, John Boncek <jboncek@hunter.com> wrote:
> Daniel Walter-2 wrote:
>>
>> [SNIP]
>
> Compile with -fdiagnostics-show-option. This will show with each warning
> what option controls generation of that warning.
Quite useful. Perhaps -fdiagnostics-show-option could get its own
heading at http://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html. By
not fully reading "-Werror=" subsection, I missed it (I don't treat
warnings as errors - I just fix the warnings on next edit).
Jeff
More information about the Gcc-help
mailing list