On Sat, Nov 15, 2014 at 3:06 AM, Joseph Myers <jos...@codesourcery.com> wrote: > On Wed, 12 Nov 2014, Prathamesh Kulkarni wrote: > >> Is this version okay ? >> [gcc/c] >> * c-decl.c (warn_cxx_compat_finish_struct): New parameters code, >> record_loc. >> Warn for empty struct. >> (finish_struct): Pass TREE_CODE (t) and loc to >> warn_cxx_compat_finish_struct. >> >> [gcc/testsuite/gcc.dg] >> * Wcxx-compat-22.c: New test-case. > > OK. Thanks. I will perform complete regression testing, and post the patch with modifications to test cases that may possibly break due to this warning.
Regards, Prathamesh > > -- > Joseph S. Myers > jos...@codesourcery.com