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] |
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.
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.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |