Bug when fortran support is disabled
[ 5%] Building CXX object CMakeFiles/pdi.dir/datatype_template.cxx.o
/home/jbigot/data/projects/gysela/gyselaxx/build/pdi/src/PDI/src/datatype_template.cxx: In lambda function:
/home/jbigot/data/projects/gysela/gyselaxx/build/pdi/src/PDI/src/datatype_template.cxx:327:72: error: expected primary-expression before ‘)’ token
long kind = to_long(PC_get(tree, ".kind"), PDI_CHARACTER_DEFAULT_KIND);
^
/home/jbigot/data/projects/gysela/gyselaxx/build/pdi/src/PDI/src/datatype_template.cxx:328:51: error: expected primary-expression before ‘;’ token
if (kind == 0) kind = PDI_CHARACTER_DEFAULT_KIND;
^
/home/jbigot/data/projects/gysela/gyselaxx/build/pdi/src/PDI/src/datatype_template.cxx: In lambda function:
/home/jbigot/data/projects/gysela/gyselaxx/build/pdi/src/PDI/src/datatype_template.cxx:333:70: error: expected primary-expression before ‘)’ token
long kind = to_long(PC_get(tree, ".kind"), PDI_INTEGER_DEFAULT_KIND);
^
/home/jbigot/data/projects/gysela/gyselaxx/build/pdi/src/PDI/src/datatype_template.cxx:334:49: error: expected primary-expression before ‘;’ token
if (kind == 0) kind = PDI_INTEGER_DEFAULT_KIND;
^
/home/jbigot/data/projects/gysela/gyselaxx/build/pdi/src/PDI/src/datatype_template.cxx: In lambda function:
/home/jbigot/data/projects/gysela/gyselaxx/build/pdi/src/PDI/src/datatype_template.cxx:339:70: error: expected primary-expression before ‘)’ token
long kind = to_long(PC_get(tree, ".kind"), PDI_LOGICAL_DEFAULT_KIND);
^
/home/jbigot/data/projects/gysela/gyselaxx/build/pdi/src/PDI/src/datatype_template.cxx:340:49: error: expected primary-expression before ‘;’ token
if (kind == 0) kind = PDI_LOGICAL_DEFAULT_KIND;
^
/home/jbigot/data/projects/gysela/gyselaxx/build/pdi/src/PDI/src/datatype_template.cxx: In lambda function:
/home/jbigot/data/projects/gysela/gyselaxx/build/pdi/src/PDI/src/datatype_template.cxx:345:67: error: expected primary-expression before ‘)’ token
long kind = to_long(PC_get(tree, ".kind"), PDI_REAL_DEFAULT_KIND);
^
/home/jbigot/data/projects/gysela/gyselaxx/build/pdi/src/PDI/src/datatype_template.cxx:346:46: error: expected primary-expression before ‘;’ token
if (kind == 0) kind = PDI_REAL_DEFAULT_KIND;