This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/81787] `#pragma GCC diagnostic warning "-fpermissive"` no longer works since gcc 4.8
- From: "egallager at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 11 Aug 2017 14:58:18 +0000
- Subject: [Bug c++/81787] `#pragma GCC diagnostic warning "-fpermissive"` no longer works since gcc 4.8
- Auto-submitted: auto-generated
- References: <bug-81787-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81787
Eric Gallager <egallager at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |WAITING
Last reconfirmed| |2017-08-11
CC| |egallager at gcc dot gnu.org
Ever confirmed|0 |1
--- Comment #1 from Eric Gallager <egallager at gcc dot gnu.org> ---
(In reply to Ben Longbons from comment #0)
> This worked with 4.7, but fails with 4.8 through 7.1.
>
>
> Original reports on StackOverflow:
>
> https://stackoverflow.com/questions/10932479/in-gcc-how-to-mute-the-fpermissive-warning
>
> https://stackoverflow.com/questions/45600368/how-to-supress-a-fpermissive-error-using-modern-gcc
Could you post any relevant test cases from them here, in case StackOverflow
ever becomes inaccessible?