[Bug c++/11196] parse error before numeric constant
pinskia@physics.uc.edu
gcc-bugzilla@gcc.gnu.org
Sun Jun 15 17:36: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 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.
More information about the Gcc-bugs
mailing list