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 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 "-

[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
Ubuntu 14.04 on amd64 machine. Regards, Nikolai gcc/Changelog 2018-09-29  Nikolai Merinov    * gcc/common.opt: Add -Wwarning-attribute.    * gcc/doc/invoke.texi: Add documentation for -Wno-warning-attribute.    * gcc/testsuite/gcc.dg/Wno-warning-attribute.c: New test.    *