Closed olivhoenen closed 8 months ago
Raised initially at https://jira.iter.org/browse/IMAS-5109, compilation fails with GCC 13 (probably related to https://gcc.gnu.org/gcc-13/porting_to.html):
FAILED: source/bin/CMakeFiles/uda_cli.dir/uda_cli.cpp.o /work/imas/opt/EasyBuild/software/GCCcore/13.2.0/bin/g++ -DA64 -DBOOST_PROGRAM_OPTIONS_DYN_LINK -DBOOST_PROGRAM_OPTIONS_NO_LIB -DCAPNP_ENABL ED=1 -DLIBXML2_PRINTF_CHAR_ARG -DOSTYPE=Linux -DUDA_EXPORT -I/opt/local/include -I/tmp/pinches/EasyBuild/UDA/2.7.4/GCC-13.2.0/easybuild_obj/ source -I/tmp/pinches/EasyBuild/UDA/2.7.4/GCC-13.2.0/UDA-2.7.4/source -I/tmp/pinches/EasyBuild/UDA/2.7.4/GCC-13.2.0/UDA-2.7.4/extlib/GSL-4.0 .0/include -isystem /work/imas/opt/EasyBuild/software/Boost/1.83.0-GCC-13.2.0/include -O2 -ftree-vectorize -march=sandybridge -fno-math-errn o -fPIC -fPIC -pthread -Wno-use-after-free -Wno-mismatched-new-delete -g -std=c++17 -fPIE -Wall -Werror -Wextra -Wno-unused-parameter -Wno -missing-field-initializers -Wno-format-truncation -Wno-format-overflow -Wno-use-after-free -MD -MT source/bin/CMakeFiles/uda_cli.dir/uda_cl i.cpp.o -MF source/bin/CMakeFiles/uda_cli.dir/uda_cli.cpp.o.d -o source/bin/CMakeFiles/uda_cli.dir/uda_cli.cpp.o -c /tmp/pinches/EasyBuild/U DA/2.7.4/GCC-13.2.0/UDA-2.7.4/source/bin/uda_cli.cpp In file included from /tmp/pinches/EasyBuild/UDA/2.7.4/GCC-13.2.0/UDA-2.7.4/source/wrappers/c++/UDA.hpp:4, from /tmp/pinches/EasyBuild/UDA/2.7.4/GCC-13.2.0/UDA-2.7.4/source/bin/uda_cli.cpp:1: /tmp/pinches/EasyBuild/UDA/2.7.4/GCC-13.2.0/UDA-2.7.4/source/wrappers/c++/client.hpp:163:46: error: uint8_t has not been declared 163 | void put(const std::string& instruction, uint8_t data); | ^~~~~~~ /tmp/pinches/EasyBuild/UDA/2.7.4/GCC-13.2.0/UDA-2.7.4/source/wrappers/c++/client.hpp:163:10: error: void uda::Client::put(const std::string& , int) cannot be overloaded with void uda::Client::put(const std::string&, int32_t) 163 | void put(const std::string& instruction, uint8_t data); | ^~~ /tmp/pinches/EasyBuild/UDA/2.7.4/GCC-13.2.0/UDA-2.7.4/source/wrappers/c++/client.hpp:161:10: note: previous declaration void uda::Client::pu t(const std::string&, int32_t) 161 | void put(const std::string& instruction, int32_t data); | ^~~
Later we also face issues with Java 21 Source option 6 is no longer supported. Use 8 or later.
Source option 6 is no longer supported. Use 8 or later.
In release/2.7.5
release/2.7.5
Raised initially at https://jira.iter.org/browse/IMAS-5109, compilation fails with GCC 13 (probably related to https://gcc.gnu.org/gcc-13/porting_to.html):
Later we also face issues with Java 21
Source option 6 is no longer supported. Use 8 or later.