You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by "Eddie Epstein (JIRA)" <ui...@incubator.apache.org> on 2009/12/07 20:29:18 UTC

[jira] Updated: (UIMA-1321) UIMA C++ 2.2.2: compile error: call of overloaded 'addParam(XMLFileLoc)' is ambiguous

     [ https://issues.apache.org/jira/browse/UIMA-1321?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Eddie Epstein updated UIMA-1321:
--------------------------------

    Affects Version/s:     (was: 2.3)
                       2.3C

> UIMA C++ 2.2.2: compile error: call of overloaded 'addParam(XMLFileLoc)' is ambiguous
> -------------------------------------------------------------------------------------
>
>                 Key: UIMA-1321
>                 URL: https://issues.apache.org/jira/browse/UIMA-1321
>             Project: UIMA
>          Issue Type: Bug
>          Components: C++ Framework
>    Affects Versions: 2.3C
>         Environment: Ubuntu Linux (kernel 2.6), Intel x86 32-bit, GNU G++ 4.2.4
>            Reporter: Jochen L. Leidner
>            Priority: Minor
>
> 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

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.