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 May 17, 2006, at 10:01 AM, Roman Kononov wrote:


In my example, driver.c is a part of the Linux kernel. It is not real to compile the kernel with -pedantic-errors. It uses all possible GCC extensions.

Does that really matter?


As I mentioned this very very valid and very well defined C++. This is an extension
to C which means we should warn in C and not in C++ front-ends.


-- Pinski


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