fdiagnostics-color=never does not disable color for some diagnostics

Jason Merrill jason@redhat.com
Thu Sep 24 13:24:00 GMT 2015


On 09/22/2015 04:23 PM, Manuel López-Ibáñez wrote:
> +    error_at (loc, "-Werror=%s: no option -%s", arg, new_option);
> +  else if (!(cl_options[option_index].flags & CL_WARNING))
> +    error_at (loc, "-Werror=%s: -%s is not an option that controls warnings",

Won't these incorrectly start with "-Werror=Wsomething:" rather than the 
"-Werror=something" that the user wrote?

Jason



More information about the Gcc-patches mailing list