QNX 6.2 Internal Comiler Error

I have some code that compiles fine under 6.1, but gives be an internal
error under 6.2. The comipler chokes on this snippet ( from the XERCES XML
parser ):

DOMNode* newNode = new (this->getOwnerDocument(),
DOMDocumentImpl::ATTR_OBJECT) DOMAttrImpl(*this, deep);



As you can see, this unsusual code snippet uses an overloaded new operator.
Unfortunately, under qnx 6.2, this gives:

QCC -fPIC -DQNX -D_REENTRANT -c -I/home/kschuttenberg/xerces-c-src2_1_0/incl
ude
-w -O -DXML_USE_NATIVE_TRANSCODER -DXML_USE_INMEM_MESSAGELOADER -D_THREAD_
SAFE -DXML_USE_PTHREADS -shared -o
/home/kschuttenberg/xerces-c-src2_1_0/obj/QNX/
DOMAttrImpl.o DOMAttrImpl.cpp
DOMAttrImpl.cpp: In method class DOMNode * DOMAttrImpl::cloneNode(bool) const': DOMAttrImpl.cpp:107: Internal compiler error in find_function_data’, at
functio
n.c:543
Please submit a full bug report.
See URL:http://www.gnu.org/software/gcc/bugs.html for instructions.
cpp0: outcc: /usr/lib/gcc-lib/ntox86/2.95.3/cc1plus error 33
put pipe has been closed
cc: /usr/lib/gcc-lib/ntox86/2.95.3/cpp0 error 33
make[2]: *** [DOMAttrImpl.o] Error 1
make[2]: Leaving directory
/home/kschuttenberg/xerces-c-src2_1_0/src/xercesc/do m/impl' make[1]: *** [impl] Error 2 make[1]: Leaving directory /home/kschuttenberg/xerces-c-src2_1_0/src/xercesc/do
m’
make: *** [Dom] Error 2





Does any one know of any workarounds or means of fixing this?

What version of 6.2 are you trying to build this code on?

chris

Kim Schuttenberg <kim_schuttenberg@yahoo.com> wrote:

I have some code that compiles fine under 6.1, but gives be an internal
error under 6.2. The comipler chokes on this snippet ( from the XERCES XML
parser ):

DOMNode* newNode = new (this->getOwnerDocument(),
DOMDocumentImpl::ATTR_OBJECT) DOMAttrImpl(*this, deep);



As you can see, this unsusual code snippet uses an overloaded new operator.
Unfortunately, under qnx 6.2, this gives:

QCC -fPIC -DQNX -D_REENTRANT -c -I/home/kschuttenberg/xerces-c-src2_1_0/incl
ude
-w -O -DXML_USE_NATIVE_TRANSCODER -DXML_USE_INMEM_MESSAGELOADER -D_THREAD_
SAFE -DXML_USE_PTHREADS -shared -o
/home/kschuttenberg/xerces-c-src2_1_0/obj/QNX/
DOMAttrImpl.o DOMAttrImpl.cpp
DOMAttrImpl.cpp: In method class DOMNode * DOMAttrImpl::cloneNode(bool) const': DOMAttrImpl.cpp:107: Internal compiler error in find_function_data’, at
functio
n.c:543
Please submit a full bug report.
See URL: http://www.gnu.org/software/gcc/bugs.html> > for instructions.
cpp0: outcc: /usr/lib/gcc-lib/ntox86/2.95.3/cc1plus error 33
put pipe has been closed
cc: /usr/lib/gcc-lib/ntox86/2.95.3/cpp0 error 33
make[2]: *** [DOMAttrImpl.o] Error 1
make[2]: Leaving directory
/home/kschuttenberg/xerces-c-src2_1_0/src/xercesc/do m/impl' make[1]: *** [impl] Error 2 make[1]: Leaving directory /home/kschuttenberg/xerces-c-src2_1_0/src/xercesc/do
m’
make: *** [Dom] Error 2





Does any one know of any workarounds or means of fixing this?
\


Chris McKillop <cdm@qnx.com> “The faster I go, the behinder I get.”
Software Engineer, QSSL – Lewis Carroll –
http://qnx.wox.org/