[fdo-internals] RE: Patch for ticket 827 (xalan build fixes for ubuntu)

Greg Boone greg.boone at autodesk.com
Wed Apr 11 12:36:24 EDT 2012


The changes look good for Branches/3.7 and the Trunk.


-----Original Message-----
From: fdo-internals-bounces at lists.osgeo.org [mailto:fdo-internals-bounces at lists.osgeo.org] On Behalf Of Jackie Ng
Sent: Wednesday, April 11, 2012 12:30 PM
To: fdo-internals at lists.osgeo.org
Subject: [fdo-internals] RE: Patch for ticket 827 (xalan build fixes for ubuntu)

If we follow the gcc bug that changed this behaviour:


It was that the C++ standard does not allow the 'mutable' specifier to be applied to reference members. Builds of current/previous xalan releases must've obviously been built with more lenient compilers which overlooked this part of the standard, so I'd guess the developers didn't know such code was illegal.

As for whether such changes have been made back upstream, it's been in the xalan trunk for a year and a half now (relevant JIRA issues are XALANC-643 and XALANC-703):

One of the patched headers (with mutable keyword removed):

One of the patched Makefile.in files (with re-ordered linker flags at lines 177, 185, 195):

- Jackie

View this message in context: http://osgeo-org.1560.n6.nabble.com/Patch-for-ticket-827-xalan-build-fixes-for-ubuntu-tp4831505p4832739.html
Sent from the FDO Internals mailing list archive at Nabble.com.
fdo-internals mailing list
fdo-internals at lists.osgeo.org

More information about the fdo-internals mailing list