You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by xe...@xml.apache.org on 2004/06/29 07:33:54 UTC

[jira] Created: (XERCESC-1235) Xerces-C++ does not build with gcc 3.4.0

Message:

  A new issue has been created in JIRA.

---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/XERCESC-1235

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: XERCESC-1235
    Summary: Xerces-C++ does not build with gcc 3.4.0
       Type: Bug

     Status: Unassigned
   Priority: Major

    Project: Xerces-C++
 Components: 
             Build
   Versions:
             2.5.0

   Assignee: 
   Reporter: ismail dönmez

    Created: Mon, 28 Jun 2004 10:32 PM
    Updated: Mon, 28 Jun 2004 10:32 PM
Environment: Gcc 3.4.0
Slackware GNU/Linux 10.0		

Description:
When trying to build xerces-c with gcc 3.4.0 I get error :

make -C impl
make[2]: Entering directory `/home/cartman/WS/xerces-c-src_2_5_0/src/xercesc/dom/impl'
mkdir -p /home/cartman/WS/xerces-c-src_2_5_0/include/xercesc/dom/impl
cp -fp  DOMDeepNodeListPool.c /home/cartman/WS/xerces-c-src_2_5_0/include/xercesc/dom/impl
g++ -fPIC -DLINUX -D_REENTRANT -c -I/home/cartman/WS/xerces-c-src_2_5_0/include -g -O2   -o /home/cartman/WS/xerces-c-src_2_5_0/obj/LINUX/DOMAttrImpl.o DOMAttrImpl.cpp
In file included from /home/cartman/WS/xerces-c-src_2_5_0/include/xercesc/util/RefArrayOf.hpp:221,
                 from DOMDocumentImpl.hpp:73,
                 from DOMAttrImpl.hpp:77,
                 from DOMAttrImpl.cpp:64:
/home/cartman/WS/xerces-c-src_2_5_0/include/xercesc/util/RefArrayOf.c: In constructor `xercesc_2_5::RefArrayOf<TElem>::RefArrayOf(unsigned int, xercesc_2_5::MemoryManager*)':
/home/cartman/WS/xerces-c-src_2_5_0/include/xercesc/util/RefArrayOf.c:111: error: invalid use of undefined type `struct xercesc_2_5::MemoryManager'
/home/cartman/WS/xerces-c-src_2_5_0/include/xercesc/util/XMemory.hpp:70: error: forward declaration of `struct xercesc_2_5::MemoryManager'
/home/cartman/WS/xerces-c-src_2_5_0/include/xercesc/util/RefArrayOf.c: In constructor `xercesc_2_5::RefArrayOf<TElem>::RefArrayOf(TElem**, unsigned int, xercesc_2_5::MemoryManager*)':
/home/cartman/WS/xerces-c-src_2_5_0/include/xercesc/util/RefArrayOf.c:125: error: invalid use of undefined type `struct xercesc_2_5::MemoryManager'
/home/cartman/WS/xerces-c-src_2_5_0/include/xercesc/util/XMemory.hpp:70: error: forward declaration of `struct xercesc_2_5::MemoryManager'
/home/cartman/WS/xerces-c-src_2_5_0/include/xercesc/util/RefArrayOf.c: In copy constructor `xercesc_2_5::RefArrayOf<TElem>::RefArrayOf(const xercesc_2_5::RefArrayOf<TElem>&)':
/home/cartman/WS/xerces-c-src_2_5_0/include/xercesc/util/RefArrayOf.c:137: error: invalid use of undefined type `struct xercesc_2_5::MemoryManager'
/home/cartman/WS/xerces-c-src_2_5_0/include/xercesc/util/XMemory.hpp:70: error: forward declaration of `struct xercesc_2_5::MemoryManager'
/home/cartman/WS/xerces-c-src_2_5_0/include/xercesc/util/RefArrayOf.c: In destructor `xercesc_2_5::RefArrayOf<TElem>::~RefArrayOf()':
/home/cartman/WS/xerces-c-src_2_5_0/include/xercesc/util/RefArrayOf.c:144: error: invalid use of undefined type `struct xercesc_2_5::MemoryManager'
/home/cartman/WS/xerces-c-src_2_5_0/include/xercesc/util/XMemory.hpp:70: error: forward declaration of `struct xercesc_2_5::MemoryManager'
/home/cartman/WS/xerces-c-src_2_5_0/include/xercesc/util/RefArrayOf.c: In member function `xercesc_2_5::RefArrayOf<TElem>& xercesc_2_5::RefArrayOf<TElem>::operator=(const xercesc_2_5::RefArrayOf<TElem>&)':
/home/cartman/WS/xerces-c-src_2_5_0/include/xercesc/util/RefArrayOf.c:176: error: invalid use of undefined type `struct xercesc_2_5::MemoryManager'
/home/cartman/WS/xerces-c-src_2_5_0/include/xercesc/util/XMemory.hpp:70: error: forward declaration of `struct xercesc_2_5::MemoryManager'
/home/cartman/WS/xerces-c-src_2_5_0/include/xercesc/util/RefArrayOf.c:178: error: invalid use of undefined type `struct xercesc_2_5::MemoryManager'
/home/cartman/WS/xerces-c-src_2_5_0/include/xercesc/util/XMemory.hpp:70: error: forward declaration of `struct xercesc_2_5::MemoryManager'
/home/cartman/WS/xerces-c-src_2_5_0/include/xercesc/util/RefArrayOf.c: In member function `void xercesc_2_5::RefArrayOf<TElem>::resize(unsigned int)':
/home/cartman/WS/xerces-c-src_2_5_0/include/xercesc/util/RefArrayOf.c:276: error: invalid use of undefined type `struct xercesc_2_5::MemoryManager'
/home/cartman/WS/xerces-c-src_2_5_0/include/xercesc/util/XMemory.hpp:70: error: forward declaration of `struct xercesc_2_5::MemoryManager'
/home/cartman/WS/xerces-c-src_2_5_0/include/xercesc/util/RefArrayOf.c:290: error: invalid use of undefined type `struct xercesc_2_5::MemoryManager'
/home/cartman/WS/xerces-c-src_2_5_0/include/xercesc/util/XMemory.hpp:70: error: forward declaration of `struct xercesc_2_5::MemoryManager'
In file included from DOMAttrImpl.cpp:67:
DOMCasts.hpp: In function `xercesc_2_5::DOMNode* xercesc_2_5::castToNode(const xercesc_2_5::DOMParentNode*)':
DOMCasts.hpp:148: warning: invalid access to non-static data member `xercesc_2_5::DOMElementImpl::fParent' of NULL object
DOMCasts.hpp:148: warning: (perhaps the `offsetof' macro was used incorrectly)
DOMCasts.hpp: In function `xercesc_2_5::DOMNode* xercesc_2_5::castToNode(const xercesc_2_5::DOMNodeImpl*)':
DOMCasts.hpp:154: warning: invalid access to non-static data member `xercesc_2_5::DOMElementImpl::fNode' of NULL object
DOMCasts.hpp:154: warning: (perhaps the `offsetof' macro was used incorrectly)
DOMCasts.hpp: In function `xercesc_2_5::DOMNodeImpl* xercesc_2_5::castToNodeImpl(const xercesc_2_5::DOMParentNode*)':
DOMCasts.hpp:162: warning: invalid access to non-static data member `xercesc_2_5::DOMElementImpl::fNode' of NULL object
DOMCasts.hpp:162: warning: (perhaps the `offsetof' macro was used incorrectly)
DOMCasts.hpp:163: warning: invalid access to non-static data member `xercesc_2_5::DOMElementImpl::fParent' of NULL object
DOMCasts.hpp:163: warning: (perhaps the `offsetof' macro was used incorrectly)
make[2]: *** [DOMAttrImpl.o] Error 1
make[2]: Leaving directory `/home/cartman/WS/xerces-c-src_2_5_0/src/xercesc/dom/impl'
make[1]: *** [impl] Error 2
make[1]: Leaving directory `/home/cartman/WS/xerces-c-src_2_5_0/src/xercesc/dom'
make: *** [Dom] Error 2
cartman@southpark:~/WS/xerces-c-src_2_5_0/src/xercesc$


---------------------------------------------------------------------
JIRA INFORMATION:
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: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org