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

Andrew Pinski pinskia@physics.uc.edu
Wed May 17 17:11:00 GMT 2006


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



More information about the Gcc-patches mailing list