Warning flag display
Manuel López-Ibáñez
lopezibanez@gmail.com
Mon May 10 09:12:00 GMT 2010
On 10 May 2010 08:23, Magnus Fromreide <magfr@lysator.liu.se> wrote:
> Hello.
>
> I just tried 4.6 and the [-Wsomething] comments in the output are really
> nice and useful. The only thing I miss is that in some cases I get
> [enabled by default] and that is not very helpful, couldn't the relevant
> option be printed in those cases as well, or have I just missed some
> flag?
The "enabled by default" warnings do not have a controlling option,
as the message should have made clear. Do you have a suggestion on how
to better convey this concept?
If you find that GCC prints "enabled by default" for a warning that
can be disabled with some -Wno-* option, that is a bug, so please open
a report in bugzilla.
Cheers,
Manuel.
More information about the Gcc-help
mailing list