This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/81787] New: `#pragma GCC diagnostic warning "-fpermissive"` no longer works since gcc 4.8
- From: "b.r.longbons at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 09 Aug 2017 21:47:36 +0000
- Subject: [Bug c++/81787] New: `#pragma GCC diagnostic warning "-fpermissive"` no longer works since gcc 4.8
- Auto-submitted: auto-generated
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81787
Bug ID: 81787
Summary: `#pragma GCC diagnostic warning "-fpermissive"` no
longer works since gcc 4.8
Product: gcc
Version: 7.1.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: b.r.longbons at gmail dot com
Target Milestone: ---
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