Dear, developers.
I compiled developer version of ISSM (revision = 25568), however, the new feature " for(Object* & object : contours->objects){" triggers an following error.
CXX classes/libISSMCore_la-Vertices.lo
./classes/Contours.cpp(41): error: reference variable "object" requires an initializer
for(Object* & object : contours->objects){
^
./classes/Contours.cpp(41): error: expected a ";"
for(Object* & object : contours->objects){
^
./classes/Contours.cpp(41): error: expected an expression
for(Object* & object : contours->objects){
Current hpc (high performance computing) machine spec is following:
gcc version 4.8.5 20150623 (Red Hat 4.8.5-39) (GCC)
A local machine wich "gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6 ubuntu1 16.04.12)" does not trigger above errors. Is it related to the "gcc" version?
Best regards,
Inwoo