Compiler Error on OS400 V4 using ILE C++ PRPQ
---------------------------------------------
Key: XERCESC-1636
URL: http://issues.apache.org/jira/browse/XERCESC-1636
Project: Xerces-C++
Issue Type: Bug
Components: Build
Affects Versions: 2.7.0
Environment: OS/400 V4R5 5799GDW
Reporter: Mike Bardin
I have a compiler error during building of xercesc 2.7 on OS/400 V4R5 (on V5R3
all is Ok). Following instructions in build-other.html, I updated
src/xercesc/dom/impl/DOMDocumentImpl.cpp,
src/xercesc/dom/impl/DOMDocumentImpl.hpp,
src/xercesc/dom/deprecated/DocumentImpl.cpp,
src/xercesc/dom/deprecated/DocumentImpl.hpp, and
src/xercesc/validators/common/ContentSpecNode.hpp. Questions: for *.cpp, how to
update files, to add new routines(getUserData and setUserData) to existing
whith such names and other sets of parameters, or to replace existing ? For
*.hpp (not ContentSpecNode), what is `to update'? To insert 5 lines about
RefHashTableOf? Of cource, it need to modify function declarations too...
I tried all variants and always see such error messages:
/QOpenSys/opt/src/freexml/xerces-c-src_2_7_0/include/xercesc/util/KeyRefPair.c(39:1)
:error GDW3079 "KeyRefPair(TKey*,TValue*)" is not a member of
"KeyRefPair<void,DOMUserDataHandler>".
/QOpenSys/opt/src/freexml/xerces-c-src_2_7_0/include/xercesc/util/KeyRefPair.c(80:68)
:error GDW3079 "TKey* getKey()" is not a member of
"KeyRefPair<void,DOMUserDataHandler>".
/QOpenSys/opt/src/freexml/xerces-c-src_2_7_0/include/xercesc/util/KeyRefPair.c(102:26)
:error GDW3079 "TKey* setKey(TKey*)" is not a member of
"KeyRefPair<void,DOMUserDataHandler>".
Compilation command is
icc -D_MULTI_THREADED -DOS400 -c
-I/QOpenSys/opt/src/freexml/xerces-c-src_2_7_0/include -I/include -DNDEBUG
-DPROJ_XMLPARSER -DPROJ_XMLUTIL -DPROJ_PARSERS -DPROJ_SAX4C -DPROJ_SAX2
-DPROJ_DOM -DPROJ_DEPRECATED_DOM -DPROJ_VALIDATORS
-DXML_USE_ICONV400_TRANSCODER -DXML_USE_INMEM_MESSAGELOADER -DXML_USE_PTHREADS
-DXML_USE_NETACCESSOR_SOCKET -I. -g -o
/QOpenSys/opt/src/freexml/xerces-c-src_2_7_0/obj/OS400/DOMDocumentImpl.o
DOMDocumentImpl.cpp
(end of command)
What to do?
Thanks...
--
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]