Support #16096: Fix problems found when attempting to build with gcc 6.3.0
problem compiling larexamples/Algorithms/RemoveIsolatedSpacePoints/PointIsolationAlg.h with gcc 6.3.0
This code block was triggered by gcc 6.3.0. Please make the suggested changes in larexamples/Algorithms/RemoveIsolatedSpacePoints/PointIsolationAlg.h
#if ((__GNUC__ == 5) && (__GNUC_MINOR__ >= 1)) || (__GNUC__ >= 6) // FIXME GCC51 // when this error will be triggered, fix the code to use std::cbegin() and // std::cend() and remove this check # error "Update to use std::cbegin()/std::cend() with GCC 5.1 and above" #endif
#2 Updated by Gianluca Petrillo over 3 years ago
- Status changed from Work in progress to Resolved
- % Done changed from 20 to 100
Replaced the free functions
std::end() with the corresponding constant versions
These are part of C++14 standard, which GCC implemented starting with version 5.1.
All unit tests up to
The fix has been pushed as larexamples:87a8d5616874bc1b006cffe38c7c00ed92636973.