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