[Bug c++/11196] parse error before numeric constant
gdr@integrable-solutions.net
gcc-bugzilla@gcc.gnu.org
Sun Jun 15 17:52:00 GMT 2003
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
More information about the Gcc-bugs
mailing list