Re: -Wvariadic-macros does not print warning

2014-05-09 Thread Jeff Law
On 04/29/14 08:14, Prathamesh Kulkarni wrote: On Tue, Apr 29, 2014 at 7:37 PM, Prathamesh Kulkarni wrote: On Tue, Apr 29, 2014 at 6:49 PM, Manuel López-Ibáñez wrote: This hunk in your patch doesn't seem related: Oops, Sorry. Removed that, and re-tested. @@ -509,6 +509,9 @@ Warn about missi

Re: -Wvariadic-macros does not print warning

2014-04-29 Thread Prathamesh Kulkarni
On Tue, Apr 29, 2014 at 7:37 PM, Prathamesh Kulkarni wrote: > On Tue, Apr 29, 2014 at 6:49 PM, Manuel López-Ibáñez > wrote: >> This hunk in your patch doesn't seem related: > Oops, Sorry. Removed that, and re-tested. >> >> @@ -509,6 +509,9 @@ Warn about missing fields in struct init >> Wsizeof-p

Re: -Wvariadic-macros does not print warning

2014-04-29 Thread Prathamesh Kulkarni
On Tue, Apr 29, 2014 at 6:49 PM, Manuel López-Ibáñez wrote: > This hunk in your patch doesn't seem related: Oops, Sorry. Removed that, and re-tested. > > @@ -509,6 +509,9 @@ Warn about missing fields in struct init > Wsizeof-pointer-memaccess > C ObjC C++ ObjC++ Var(warn_sizeof_pointer_memaccess

Re: -Wvariadic-macros does not print warning

2014-04-29 Thread Manuel López-Ibáñez
This hunk in your patch doesn't seem related: @@ -509,6 +509,9 @@ Warn about missing fields in struct init Wsizeof-pointer-memaccess C ObjC C++ ObjC++ Var(warn_sizeof_pointer_memaccess) Warning LangEnabledBy(C ObjC C++ ObjC++,Wall) +Wsizeof-array-argument +C Var(warn_sizeof_array_argument) Warn

Re: -Wvariadic-macros does not print warning

2014-04-29 Thread Prathamesh Kulkarni
On Tue, Apr 29, 2014 at 2:07 PM, Manuel López-Ibáñez wrote: > On 23 April 2014 20:03, Prathamesh Kulkarni > wrote: >> I didn't attach the patch, I am extremely sorry for the noise. >> I am re-posting the mail. >> This is a follow up mail to >> http://gcc.gnu.org/ml/gcc-help/2014-04/msg00096.htm

Re: -Wvariadic-macros does not print warning

2014-04-29 Thread Manuel López-Ibáñez
On 23 April 2014 20:03, Prathamesh Kulkarni wrote: > I didn't attach the patch, I am extremely sorry for the noise. > I am re-posting the mail. > This is a follow up mail to > http://gcc.gnu.org/ml/gcc-help/2014-04/msg00096.html > I have attached patch that prints the warning when passed -Wvariad

Re: -Wvariadic-macros does not print warning

2014-04-23 Thread Prathamesh Kulkarni
I didn't attach the patch, I am extremely sorry for the noise. I am re-posting the mail. This is a follow up mail to http://gcc.gnu.org/ml/gcc-help/2014-04/msg00096.html I have attached patch that prints the warning when passed -Wvariadic-macros (I mostly followed it along lines of -Wlong-long). OK

Re: -Wvariadic-macros does not print warning

2014-04-23 Thread Prathamesh Kulkarni
forgot to add gcc-patches@gcc.gnu.org. Sorry for the double-post. On Wed, Apr 23, 2014 at 11:28 PM, Prathamesh Kulkarni wrote: > This is a follow up mail to > http://gcc.gnu.org/ml/gcc-help/2014-04/msg00096.html > I have attached patch that prints the warning when passed -Wvariadic-macros > (I m