This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/11196] parse error before numeric constant


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]