Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Abandoned
-
2.3C
-
None
-
Ubuntu Linux (kernel 2.6), Intel x86 32-bit, GNU G++ 4.2.4
Description
Hi,
I tried to compile the packaged release of the C++ implementation of the framework using GNU C++ 4 on Ubuntu Linux,
and got the following error:
In file included from ./uima/resmgr.hpp:54,
from ./uima/importdescription.hpp:46,
from ./uima/typesystemdescription.hpp:44,
from ./uima/taespecifier.hpp:45,
from ./uima/engine.hpp:48,
from ./uima/annotator_context.hpp:48,
from ../cas/xcasdeserializer_handler.cpp:54:
./uima/location.hpp: In constructor 'uima::util::Location::Location()':
./uima/location.hpp:140: warning: deprecated conversion from string constant to 'char*'
../cas/xcasdeserializer_handler.cpp: In member function 'virtual void uima::XCASDeserializerHandler::error(const xercesc_3_0::SAXParseException&)':
../cas/xcasdeserializer_handler.cpp:923: error: call of overloaded 'addParam(XMLFileLoc)' is ambiguous
./uima/exceptions.hpp:172: note: candidates are: void uima::ErrorMessage::addParam(const char*) <near match>
./uima/exceptions.hpp:174: note: void uima::ErrorMessage::addParam(const std::string&) <near match>
./uima/exceptions.hpp:176: note: void uima::ErrorMessage::addParam(const UChar*) <near match>
./uima/exceptions.hpp:178: note: void uima::ErrorMessage::addParam(const icu_4_0::UnicodeString&)
./uima/exceptions.hpp:182: note: void uima::ErrorMessage::addParam(long int)
./uima/exceptions.hpp:184: note: void uima::ErrorMessage::addParam(long unsigned int)
./uima/exceptions.hpp:186: note: void uima::ErrorMessage::addParam(int)
./uima/exceptions.hpp:188: note: void uima::ErrorMessage::addParam(unsigned int)
./uima/exceptions.hpp:190: note: void uima::ErrorMessage::addParam(double)
../cas/xcasdeserializer_handler.cpp:924: error: call of overloaded 'addParam(XMLFileLoc)' is ambiguous
./uima/exceptions.hpp:172: note: candidates are: void uima::ErrorMessage::addParam(const char*) <near match>
./uima/exceptions.hpp:174: note: void uima::ErrorMessage::addParam(const std::string&) <near match>
./uima/exceptions.hpp:176: note: void uima::ErrorMessage::addParam(const UChar*) <near match>
./uima/exceptions.hpp:178: note: void uima::ErrorMessage::addParam(const icu_4_0::UnicodeString&)
./uima/exceptions.hpp:182: note: void uima::ErrorMessage::addParam(long int)
./uima/exceptions.hpp:184: note: void uima::ErrorMessage::addParam(long unsigned int)
./uima/exceptions.hpp:186: note: void uima::ErrorMessage::addParam(int)
./uima/exceptions.hpp:188: note: void uima::ErrorMessage::addParam(unsigned int)
./uima/exceptions.hpp:190: note: void uima::ErrorMessage::addParam(double)
[...]
When commenting out all calls to msg.addParam() in the sources, the shared libraries build fine.
Any ideas?
Thanks,
Jochen