[C++] Separate pedwarns and fpermissive errors
Manuel López-Ibáñez
lopezibanez@gmail.com
Mon Jan 14 19:33:00 GMT 2008
On 14 Jan 2008 08:06:28 -0600, Gabriel Dos Reis <gdr@cs.tamu.edu> wrote:
>
> The patch in itself has a merit -- as it clarifies the semantics of
> -fpermissive, and introduces a proper categorization. However, I do
> not believe it is a fixing a regression, and the arguments presented
> so far appears to me as unconvincing. I would suggest to hold
> applying this work for stage 1.
>
OK. The following patch reverts the fix to PR 24924.
Bootstrapped and regression tested on x86_64-unknown-linux-gnu
OK to commit?
Cheers,
Manuel.
2008-01-14 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
PR c++/24924
* c-opts (c_common_post_options): Do not enable CPP
flag_pedantic_errors by default.
testsuite/
* g++.dg/cpp/pedantic-errors.C: Delete.
* g++.dg/cpp/permissive.C: Delete.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fix-cpp-pedantic.diff
Type: text/x-diff
Size: 1702 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20080114/e50e3271/attachment.bin>
More information about the Gcc-patches
mailing list