Re: List warnings enabled by default in gcc

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

 



On Thu, 13 Apr 2023, 06:24 jorge.pinto.sousa via Gcc-help, <
gcc-help@xxxxxxxxxxx> wrote:

> Hi,
>
> For any specific gcc binary,
>
> /usr/bin/gcc-8 -Q --help=warnings | grep enabled
>
> Will give me the list of warnings enabled by default?
>

Yes.


> Also, when compiling from source, where can one control those?
>

See the .opt files.



[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