This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [C++ PATCH] warning about empty extern "C" structures
- From: DJ Delorie <dj at redhat dot com>
- To: kononov195-far at yahoo dot com
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Wed, 17 May 2006 11:08:49 -0400
- Subject: Re: [C++ PATCH] warning about empty extern "C" structures
- References: <e4fce1$nrb$1@sea.gmane.org>
> + warning (0,"size of empty %q+#D is different in C language",t);
Please pass OPT_Wempty_c_struct here, rather than testing it in the if().