This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [C++ PATCH] warning about empty extern "C" structures


On Wed, 2006-05-17 at 13:34 -0400, Daniel Jacobowitz wrote:
> I think that the only sensible options are warning or using the C
> layout within extern "C".

And error-ing when using the empty structs at places it will hurt in the
later case.
This will be the most coherent behaviour.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]