[Bug c++/11133] Inernal compiler error when compiling xerxes 2.3.0

bangerth@dealii.org gcc-bugzilla@gcc.gnu.org
Mon Jun 9 14:42: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=11133



------- Additional Comments From bangerth@dealii.org  2003-06-09 14:42 -------
For whatever reason, I can't reproduce this. I always get

g/x> /home/bangerth/bin/gcc-3.2/bin/c++ -c DOMDocumentImpl.ii -fPIC -g
In file included from DOMDocumentImpl.cpp:61:
DOMCasts.hpp: In function `xercesc_2_3::DOMNode* xercesc_2_3::castToNode(const
   xercesc_2_3::DOMParentNode*)':
DOMCasts.hpp:148: warning: invalid offsetof from non-POD type `class
   xercesc_2_3::DOMElementImpl'; use pointer to member instead
DOMCasts.hpp: In function `xercesc_2_3::DOMNode* xercesc_2_3::castToNode(const
   xercesc_2_3::DOMNodeImpl*)':
DOMCasts.hpp:154: warning: invalid offsetof from non-POD type `class
   xercesc_2_3::DOMElementImpl'; use pointer to member instead
DOMCasts.hpp: In function `xercesc_2_3::DOMNodeImpl*
   xercesc_2_3::castToNodeImpl(const xercesc_2_3::DOMParentNode*)':
DOMCasts.hpp:162: warning: invalid offsetof from non-POD type `class
   xercesc_2_3::DOMElementImpl'; use pointer to member instead
DOMCasts.hpp:163: warning: invalid offsetof from non-POD type `class
   xercesc_2_3::DOMElementImpl'; use pointer to member instead

with both 3.2 and 3.2.3. Same with 3.3. Maybe someone else can reproduce
this. Does the bug also trigger when you run the compiler on the preprocessed
source with you?

W.



More information about the Gcc-bugs mailing list