Re: [PATCH] Make a warning for -Werror=wrong-language (PR driver/91172).

2019-07-21 Thread Jeff Law
On 7/17/19 1:40 AM, Martin Liška wrote: > On 7/16/19 6:40 PM, Martin Sebor wrote: >> On 7/16/19 5:16 AM, Martin Liška wrote: >>> Hi. >>> >>> I noticed in the PR that -Werror=argument argument is not verified >>> that the option is supported by a language we compile for. >>> That's changed in the pa

Re: [PATCH] Make a warning for -Werror=wrong-language (PR driver/91172).

2019-07-17 Thread Martin Liška
On 7/16/19 6:40 PM, Martin Sebor wrote: > On 7/16/19 5:16 AM, Martin Liška wrote: >> Hi. >> >> I noticed in the PR that -Werror=argument argument is not verified >> that the option is supported by a language we compile for. >> That's changed in the patch. However, it's not ideal as I need to mark >

Re: [PATCH] Make a warning for -Werror=wrong-language (PR driver/91172).

2019-07-16 Thread Martin Sebor
On 7/16/19 5:16 AM, Martin Liška wrote: Hi. I noticed in the PR that -Werror=argument argument is not verified that the option is supported by a language we compile for. That's changed in the patch. However, it's not ideal as I need to mark the -Werror as the problematic option and one can't pri