[Bug other/114980] [14/15 Regression] -fdiagnostics-urls=never does not suppress URLs in `'-Werror=' argument '-Werror=...' not valid for ...` warnings
pinskia at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed May 8 02:52:03 GMT 2024
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114980
--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
-fdiagnostics-plain-output does:
/* If you have changed the default diagnostics output, and this new
output is not appropriately "plain" (e.g., the change needs to be
undone in order for the testsuite to work properly), then please
do
the following:
1. Add the necessary option to undo the new behavior to
the array below.
2. Update the documentation for -fdiagnostics-plain-output
in invoke.texi. */
const char *const expanded_args[] = {
"-fno-diagnostics-show-caret",
"-fno-diagnostics-show-line-numbers",
"-fdiagnostics-color=never",
"-fdiagnostics-urls=never",
"-fdiagnostics-path-format=separate-events",
"-fdiagnostics-text-art-charset=none"
};
More information about the Gcc-bugs
mailing list