[Bug c++/18073] [4.0 regression] mmintrin.h rejected by C++ frontend
reichelt at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Wed Oct 20 13:38:00 GMT 2004
------- Additional Comments From reichelt at gcc dot gnu dot org 2004-10-20 13:38 -------
Many C++ headers also fail when compiled with -pedantic:
==================
#include<iosfwd>
==================
/Work/reichelt/GCC/FARM/gcc-4.0-20041020/bin/../lib/gcc/i686-pc-linux-gnu/4.0.0/../../../../include/c++/4.0.0/i686-pc-linux-gnu/bits/gthr-default.h:
In function `int __gthread_active_p()':
/Work/reichelt/GCC/FARM/gcc-4.0-20041020/bin/../lib/gcc/i686-pc-linux-gnu/4.0.0/../../../../include/c++/4.0.0/i686-pc-linux-gnu/bits/gthr-default.h:108:
error: ISO C++ forbids casting between pointer-to-function and pointer-to-object
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18073
More information about the Gcc-bugs
mailing list