------- 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

Reply via email to