[ http://issues.apache.org/jira/browse/XERCESC-1074?page=history ] James Berry resolved XERCESC-1074: ----------------------------------
Assign To: (was: Xerces-C Developers Mailing List) Resolution: Fixed I checked in a fix that should correct these warning messages. Please verify. > Compiler warnings in DOMCasts.hpp > --------------------------------- > > Key: XERCESC-1074 > URL: http://issues.apache.org/jira/browse/XERCESC-1074 > Project: Xerces-C++ > Type: Bug > Components: Build > Versions: Nightly build (please specify the date) > Environment: Operating System: Linux > Platform: PC > Reporter: Jeroen N. Witmond > > DOMCasts.hpp: In function `xercesc_2_4::DOMNode* > xercesc_2_4::castToNode(const > xercesc_2_4::DOMParentNode*)': > DOMCasts.hpp:148: warning: invalid offsetof from non-POD type `class > xercesc_2_4::DOMElementImpl'; use pointer to member instead > DOMCasts.hpp: In function `xercesc_2_4::DOMNode* > xercesc_2_4::castToNode(const > xercesc_2_4::DOMNodeImpl*)': > DOMCasts.hpp:154: warning: invalid offsetof from non-POD type `class > xercesc_2_4::DOMElementImpl'; use pointer to member instead > DOMCasts.hpp: In function `xercesc_2_4::DOMNodeImpl* > xercesc_2_4::castToNodeImpl(const xercesc_2_4::DOMParentNode*)': > DOMCasts.hpp:162: warning: invalid offsetof from non-POD type `class > xercesc_2_4::DOMElementImpl'; use pointer to member instead > DOMCasts.hpp:163: warning: invalid offsetof from non-POD type `class > xercesc_2_4::DOMElementImpl'; use pointer to member instead > > I use Xerces C++ from CVS, updated the afternoon of 29 November 2003. My OS > is RedHat > 9. My c++ compiler is: `g++ -v` > Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/3.2.2/specs > Configured with: ../configure --prefix=/usr --mandir=/usr/share/man > --infodir=/usr/share/info --enable-shared --enable-threads=posix > --disable-checking --with-system-zlib --enable-__cxa_atexit > --host=i386-redhat-linux > Thread model: posix > gcc version 3.2.2 20030222 (Red Hat Linux 3.2.2-5) -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]