Re: Warning usage

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Oct 21, 2010 at 4:01 PM, John Boncek <jboncek@xxxxxxxxxx> 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


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux