This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/20064] Types shall not be defined in casts in the strict mode.
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 18 Feb 2005 21:29:14 -0000
- Subject: [Bug c++/20064] Types shall not be defined in casts in the strict mode.
- References: <20050218212425.20064.msadoghi@ca.ibm.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-02-18 21:29 -------
There are two things here, -pedantic does not enable strict mode, just the warnings for strict mode,
use -pedantic-errors instead.
Anyways this is rejected by default with 3.4.0 and above.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |FIXED
Target Milestone|--- |3.4.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20064