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: "pinskia at physics dot uc dot edu" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 15 Jun 2003 17:36:21 -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 pinskia@physics.uc.edu 2003-06-15 17:36 -------
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.