Describe the bug
Building the devel branch fails with the following error:
[ 3%] Building CXX object src/libYARP_OS/CMakeFiles/YARP_OS.dir/src/Storable.cpp.o
/tmp/robotology-superbuild/robotology/YARP/src/libYARP_OS/src/Storable.cpp:77:24: error: use of undeclared identifier 'FAILED_TO_RUN'
char buf[16 + 15 + FAILED_TO_RUN];
^
/tmp/robotology-superbuild/robotology/YARP/src/libYARP_OS/src/Storable.cpp:78:34: error: use of undeclared identifier 'FAILED_TO_RUN'
std::snprintf(buf, 16 + 15 + FAILED_TO_RUN, "%.*g", 15, x);
Configuration (please complete the following information):
Additional context
The error is generated here:
Probably due to a failing substitution of:
in the following CMake files:
cc @drdanz @Nicogene @traversaro
I'd say that the problem is in the try_run here:
Did it happen once, or is this something reproducible?
In the pre-release days this was fully reproducible and it blocked me for like two days (I downgraded temporarily). The tagged v3.0.0 instead works flawlessly, I don't know what did change but the problem didn't occur again.
Cool closing for now, if it happens again please reopen it!
Most helpful comment
In the pre-release days this was fully reproducible and it blocked me for like two days (I downgraded temporarily). The tagged
v3.0.0instead works flawlessly, I don't know what did change but the problem didn't occur again.