]> git.ipfire.org Git - thirdparty/gcc.git/commit
Implement PR ada/101385
authorEric Botcazou <ebotcazou@adacore.com>
Tue, 14 Sep 2021 08:32:00 +0000 (10:32 +0200)
committerEric Botcazou <ebotcazou@adacore.com>
Tue, 14 Sep 2021 08:32:41 +0000 (10:32 +0200)
commitf3922acfdfff1e426bd1238cf09eeb84332464c9
treee62475fa932b1c83dddcd2dc4d4e7858e8443f3e
parent45d32da2bc0f62f196ec311dddb89563555b1a2a
Implement PR ada/101385

For consistency's sake with -Wall & -w, this makes -Werror imply -gnatwe.

gcc/ada/
PR ada/101385
* doc/gnat_ugn/building_executable_programs_with_gnat.rst
(-Wall): Minor fixes.
(-w): Likewise.
(-Werror): Document that it also sets -gnatwe by default.
* gcc-interface/lang-specs.h (ada): Expand -gnatwe if -Werror is
passed and move expansion of -gnatw switches to before -gnatez.
gcc/ada/doc/gnat_ugn/building_executable_programs_with_gnat.rst
gcc/ada/gcc-interface/lang-specs.h