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 05/17/2006 12:08, Gabriel Dos Reis wrote:
Yes, but I believe you want the author of the drivers know the
potential of semantics mismatch. E.g. you don't just want this to be a
g++ only warning.

I want to warn the driver authors, but they will ignore the warning.


On 05/17/2006 12:10, Roman Kononov wrote:
Such warning in C code would be pointless. Because this is valid
GCC code. This is valid G++ code too. But extern "C" is an
intent to make a C++ interface to the C code. And the interface
is broken, about which a warning is desired.

Roman


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