[ https://issues.apache.org/jira/browse/XERCESC-1995?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14017509#comment-14017509 ]
William Gallafent commented on XERCESC-1995: -------------------------------------------- Note that there's an open bug at MacPorts covering the same territory: https://trac.macports.org/ticket/43895 … > Allow compiling Xerces-C using C++11 (especially Clang) > ------------------------------------------------------- > > Key: XERCESC-1995 > URL: https://issues.apache.org/jira/browse/XERCESC-1995 > Project: Xerces-C++ > Issue Type: Improvement > Components: Utilities > Affects Versions: 3.1.1 > Environment: Shouldn't matter (FreeBSD9.1 RC1) > Reporter: Michael Gmelin > Assignee: Alberto Massari > Priority: Minor > Labels: patch > Fix For: 3.2.0 > > Attachments: CompileXercersC++11.patch > > Original Estimate: 0.5h > Remaining Estimate: 0.5h > > gcc issues a couple of warnings in C++11 about narrowing conversions, clang > refuses to build for the same reason. > The attached patch solves this trivial problem by adding a few static casts > in the right places. > While you're on it you might also want to apply XERCESC-1994, which had been > revealed by compiling xerces-c using Clang. -- This message was sent by Atlassian JIRA (v6.2#6252) --------------------------------------------------------------------- To unsubscribe, e-mail: c-dev-unsubscr...@xerces.apache.org For additional commands, e-mail: c-dev-h...@xerces.apache.org