Problems in compiling xerces-C++2.05 on Tru64 v5.1 unix
--------------------------------------------------------
Key: XERCESC-1574
URL: http://issues.apache.org/jira/browse/XERCESC-1574
Project: Xerces-C++
Type: Bug
Components: DOM
Environment: Tru64 v5.1(OSF1, V5.1 2650 alpha); Compaq C++ V6.5-014 for Compaq
Tru64 UNIX V5.1B
Reporter: vinod tatireddy
aim compiling C++ code and getting errors with inlcude of
xercesc/parsers/XercesDOMParser.hpp, i guess object alloaction for newbucket is
unable to find "new" overloaded function. Can you please shed some light on
this, thanks
Error Log..
TraversingXML.o
cxx -std strict_ansi -g -msg_display_number -msg_display_tag -msg_disable 425
-pthread -nopragma_template -ttimestamp -nopure_cname -DDIFFUSION_NOTIFIES
-I/opt/oms/include -DOSF1AXP -DDU4_0 -DOSF1 -DNO_XMSTRINGS -DP_THREADS
-DOSF1AXP_5 -DOSF1_VER=5 -DHAS_NOGUI -I/stardev/src/toolkits/libWrapper
-I/stardev/src/toolkits/libBase -I/stardev/isis-3.4.4/include
-I/stardev/src/toolkits/libCmdLine -I/stardev/src/toolkits
-I/stardev/src/toolkits/libBase/iso_compat -c TraversingXML.C
cxx: Error: /opt/oms/include/xercesc/util/RefHashTableOf.c, line 466: #384 no
instance of overloaded "operator new" matches the argument list
(nomatnewfun)
argument types are: (unsigned long, MemoryManager *)
newBucket = new (fMemoryManager) RefHashTableBucketElem<TVal>(key,
valueToAdopt, fBucketList[hashVal]); --------------------^
cxx: Error: /opt/oms/include/xercesc/util/NameIdPool.c, line 291: #384 no
instance of overloaded "operator new" matches the argument list
(nomatnewfun)
argument types are: (unsigned long, MemoryManager *)
NameIdPoolBucketElem<TElem>* newBucket = new (fMemoryManager)
NameIdPoolBucketElem<TElem> ---------------------------------------------^
cxx: Error: TraversingXML.C, line 22: #20 identifier "xercescXMLDOMParser" is
undefined (undeclared)
xercescXMLDOMParser parser;
^
cxx: Error: TraversingXML.C, line 27: #127 expected a statement (expstmt) else
{ cout<<"You cnat parse"<<endl;} ^
cxx: Info: 4 errors detected in the compilation of "TraversingXML.C".
make: *** [TraversingXML.o] Error 1
----------------------------------------
--
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
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]