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 9:45 AM, Roman Kononov wrote:


On 05/17/2006 11:12, Gabriel Dos Reis wrote:
| They prevent from introducing safe C++ code.
I don't understand that comment.

Look at this:

Compile the C code with -pedantic-errors and I get errors with the C code.
I don't see the real issue.


If you are going to warn about very valid and well defined C++ code, that is
just crazy.


-- Pinski


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