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.