Re: Is there a way to print what -Wall represents?

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

 



[ Please don't top-post. ]

On Sun, Mar 28, 2021 at 04:03:11PM -0500, Peng Yu via Gcc-help wrote:
> On 3/28/21, Xi Ruoyao <xry111@xxxxxxxxxxxxxxxx> wrote:
> > LANG= gcc -Wall -Q --help=warnings | grep enabled
> >
> > It will also print those warnings enabled by default.  You can then run the
> > command without -Wall and make a diff.
>
> What LANG= is for? It seems that it is not required.

It makes sure the compiler messages are not translated.


Segher



[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