Error compiling with cpptango 9.4.2
Trying to compile the bindings on Rocky Linux 8 with cpptango 9.4.2 fails due to the C++ standard:
% make -f Makefile.linux
gcc -fPIC -W -Wno-deprecated -Wno-deprecated-declarations -Wno-unused -Wno-comment -Wno-sign-compare -fno-enforce-eh-specs -D_REENTRANT -DMATLAB_MEX_FILE -DOMNI_UNLOADABLE_STUBS -g -O3 -std=c++0x -I. -I/usr/include -I/usr/include -I/usr/include/tango -I/opt/matlab-R2022a/extern/include main.cpp -c -o main.so.o
In file included from /usr/include/tango/server/except.h:37,
from /usr/include/tango/client/apiexcept.h:29,
from /usr/include/tango/tango.h:112,
from StandardHeader.h:51,
from main.cpp:17:
/usr/include/tango/common/tango_const.h:1122:38: error: 'type_value' function uses 'auto' type specifier without trailing return type
static constexpr auto type_value() {return DEV_SHORT;}
^
/usr/include/tango/common/tango_const.h:1122:38: note: deduced return type only available with -std=c++14 or -std=gnu++14
/usr/include/tango/common/tango_const.h:1123:42: error: 'att_type_value' function uses 'auto' type specifier without trailing return type
static constexpr auto att_type_value() {return ATT_SHORT;}
^
/usr/include/tango/common/tango_const.h:1123:42: note: deduced return type only available with -std=c++14 or -std=gnu++14
/usr/include/tango/common/tango_const.h:1130:38: error: 'type_value' function uses 'auto' type specifier without trailing return type
static constexpr auto type_value() {return DEV_USHORT;}
...
Would be nice to update the repo for cpptango 9.4 and 9.5 :-)