Project: datamanagement
Issue DM-5590: Fix afw build issues with recent clang
{{afw}} fails to build with recent versions of clang: {code} include/lsst/afw/image/MaskedImage.h:553:65: error: '_loc' is a protected member of 'lsst::afw::image::MaskedImage::MaskedImageLocatorBase, boost::mpl::range_c > > *> >,       boost::gil::memory_based_2d_locator, boost::mpl::range_c > > *> >,       boost::gil::memory_based_2d_locator, boost::mpl::range_c > > *> >, Reference>'                                      const_VarianceLocator(iter._loc.template get<2>()) {code} and issues with statistics.i so far, more errors may turn up as these are cleared. These problems are apparent with {{Apple LLVM version 7.3.0 (clang-703.0.29)}} (as shipped with the latest release of XCode, hence this now becoming an issue) and {{clang version 3.8.0 (branches/release_38 262722)}} (a recent release from LLVM; note that Apple uses its own versioning scheme). {{clang version 3.7.1 (tags/RELEASE_371/final)}} is not affected.
Story points: 1