Re: [PATCH] Add option to control warnings added through attribure "warning"

2018-11-07 Thread Jeff Law
On 10/15/18 9:21 AM, Nikolai Merinov wrote: > Hi Martin, > > On 10/15/18 6:20 PM, Martin Sebor wrote: >> On 10/15/2018 01:55 AM, Nikolai Merinov wrote: >>> Hi Martin, >>> >>> On 10/12/18 9:58 PM, Martin Sebor wrote: On 10/12/2018 04:14 AM, Nikolai Merinov wrote: > Hello, > > In ht

Re: [PATCH] Add option to control warnings added through attribure "warning"

2018-10-26 Thread Jeff Law
On 10/26/18 9:11 AM, Martin Sebor wrote: > On 10/26/2018 05:01 AM, Nikolai Merinov wrote: >> Hi, >> >> What next steps should I perform in order to get this changes merged >> to GCC? > > Keep pinging it once a week until a maintainer approves it. > I'm not empowered to do that. Nikolai -- your pat

Re: [PATCH] Add option to control warnings added through attribure "warning"

2018-10-26 Thread Martin Sebor
ot;Nikolai Merinov" To: "Martin Sebor" , gcc-patches@gcc.gnu.org Sent: Monday, October 15, 2018 3:21:15 PM Subject: Re: [PATCH] Add option to control warnings added through attribure "warning" Hi Martin, On 10/15/18 6:20 PM, Martin Sebor wrote: On 10/15/2018 01:55 AM, Nik

Re: [PATCH] Add option to control warnings added through attribure "warning"

2018-10-26 Thread Nikolai Merinov
Hi, What next steps should I perform in order to get this changes merged to GCC? Regards, Nikolai - Original Message - From: "Nikolai Merinov" To: "Martin Sebor" , gcc-patches@gcc.gnu.org Sent: Monday, October 15, 2018 3:21:15 PM Subject: Re: [PATCH] Add option

Re: [PATCH] Add option to control warnings added through attribure "warning"

2018-10-15 Thread Nikolai Merinov
Hi Martin, On 10/15/18 6:20 PM, Martin Sebor wrote: On 10/15/2018 01:55 AM, Nikolai Merinov wrote: Hi Martin, On 10/12/18 9:58 PM, Martin Sebor wrote: On 10/12/2018 04:14 AM, Nikolai Merinov wrote: Hello, In https://gcc.gnu.org/ml/gcc-patches/2018-09/msg01795.html mail I suggested patch to

Re: [PATCH] Add option to control warnings added through attribure "warning"

2018-10-15 Thread Martin Sebor
On 10/15/2018 01:55 AM, Nikolai Merinov wrote: Hi Martin, On 10/12/18 9:58 PM, Martin Sebor wrote: On 10/12/2018 04:14 AM, Nikolai Merinov wrote: Hello, In https://gcc.gnu.org/ml/gcc-patches/2018-09/msg01795.html mail I suggested patch to have ability to control behavior of "__attribute__((wa

Re: [PATCH] Add option to control warnings added through attribure "warning"

2018-10-15 Thread Nikolai Merinov
Hi Martin, On 10/12/18 9:58 PM, Martin Sebor wrote: On 10/12/2018 04:14 AM, Nikolai Merinov wrote: Hello, In https://gcc.gnu.org/ml/gcc-patches/2018-09/msg01795.html mail I suggested patch to have ability to control behavior of "__attribute__((warning))" in case when option "-Werror" enabled.

Re: [PATCH] Add option to control warnings added through attribure "warning"

2018-10-12 Thread Martin Sebor
On 10/12/2018 04:14 AM, Nikolai Merinov wrote: Hello, In https://gcc.gnu.org/ml/gcc-patches/2018-09/msg01795.html mail I suggested patch to have ability to control behavior of "__attribute__((warning))" in case when option "-Werror" enabled. Usage example: #include int a() __attribute__((warn

[PATCH] Add option to control warnings added through attribure "warning"

2018-10-12 Thread Nikolai Merinov
Hello, In https://gcc.gnu.org/ml/gcc-patches/2018-09/msg01795.html mail I suggested patch to have ability to control behavior of "__attribute__((warning))" in case when option "-Werror" enabled. Usage example: #include int a() __attribute__((warning("Warning: `a' was used"))); int a() { retu

[PATCH] Add option to control warnings added through attribure "warning"

2018-09-30 Thread Nikolai Merinov
Hello, I prepared patch that give more precise control over __attribute__((warning)). Currently when you use "warning" attribute with "-Werror" option warning become error and there is no way to ignore this error. With suggested changes it will be possible to use "-Werror -Wno-error=warning-a