[
https://issues.apache.org/jira/browse/UIMA-2361?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Bhavani Iyer resolved UIMA-2361.
--------------------------------
Resolution: Fixed
> UIMA C++ fails to build with gcc 4.5.2
> --------------------------------------
>
> Key: UIMA-2361
> URL: https://issues.apache.org/jira/browse/UIMA-2361
> Project: UIMA
> Issue Type: Bug
> Components: C++ Framework
> Affects Versions: 2.4.0C
> Environment: Ubuntu 11.04
> Reporter: Bhavani Iyer
> Assignee: Bhavani Iyer
> Fix For: 2.4.0C
>
>
> Reported by Jean-Cedric Chappelier
> I just tested the very last version (2.4.0.03 from Jan 25th,
> downloaded from here:
> http://people.apache.org/~bhavani/uimacpp-release-candidates/2.4.0/03/uimacpp-2.4.0-src.tgz
> ), and have a few remarks, hopefully helpful.
> I tested it on a Ubuntu 11.04 with all up-to-date packages but
> without ActiveMQ.
> ....
> 2) secondly, there is a bug in handling properly Xerces XMLFileLoc
> type in UIMA exceptions, more precisely in ErrorMessage::addParam.
> XMLFileLoc is indeed an uint64_t
> (grep XMLFileLoc /usr/include/xercesc/util/Xerces_autoconf_config.hpp)
> for which ErrorMessage has no good addParam method (ambiguous casting).
> My g++ 4.5.2 complains about this and refuses to go ahead.
> I hereby attach a proposed patch (exceptions.patch) for both
> exceptions.cpp and exceptions.hpp
> BTW, may I recommend you to add a template ErrorMessage::addParam?
> This would avoid this kind of problems.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira