This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/11196] parse error before numeric constant
- From: "gdr at integrable-solutions dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 15 Jun 2003 17:52:46 -0000
- Subject: [Bug c++/11196] parse error before numeric constant
- References: <20030615172415.11196.is88071@cis.nctu.edu.tw>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11196
------- Additional Comments From gdr@integrable-solutions.net 2003-06-15 17:52 -------
Subject: Re: parse error before numeric constant
"pinskia@physics.uc.edu" <gcc-bugzilla@gcc.gnu.org> writes:
| This is not a bug as the ISO C++ standard say that any standard header can include any other
| standard headers so you include iostream which in turns includes cmath.h. The bug is that
| cmath.h should not define M_PI which is not included in the C++ standard but is included in
| XOPEN/SVID.
That is untrue. XOPEN/SVID does not say <cmath> should define M_PI.
The issue isn't not that simple. We should just resolve this as of
being very low priority bug to fix.
-- Gaby