Bug#1097204: libixion: ftbfs with GCC-15
tag 1097204 + fixed-upstream
thanks
Am 17.02.25 um 18:31 schrieb Matthias Klose:
libtool: compile: g++ -std=c++17 -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../../src/include -DIXION_BUILD -I/usr/include/mdds-2.1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/libixion-0.19.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fexcess-precision=fast -fvisibility=hidden -Wall -Wshadow -Wno-write-strings -pthread -DSIZEOF_VOID_P=8 -O2 -DIXION_THREADS=1 -c compute_engine.cpp -fPIC -DPIC -o .libs/compute_engine.o
libtool: compile: g++ -std=c++17 -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../../src/include -DIXION_BUILD -I/usr/include/mdds-2.1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/libixion-0.19.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fexcess-precision=fast -fvisibility=hidden -Wall -Wshadow -Wno-write-strings -pthread -DSIZEOF_VOID_P=8 -O2 -DIXION_THREADS=1 -c config.cpp -fPIC -DPIC -o .libs/config.o
In file included from compute_engine.cpp:8:
../../include/ixion/compute_engine.hpp:27:9: error: 'uint32_t' does not name a type
27 | uint32_t* uint32;
| ^~~~~~~~
../../include/ixion/compute_engine.hpp:16:1: note: 'uint32_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
15 | #include <string>
+++ |+#include <cstdint>
16 |
libtool: compile: g++ -std=c++17 -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../../src/include -DIXION_BUILD -I/usr/include/mdds-2.1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/libixion-0.19.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fexcess-precision=fast -fvisibility=hidden -Wall -Wshadow -Wno-write-strings -pthread -DSIZEOF_VOID_P=8 -O2 -DIXION_THREADS=1 -c config.cpp -fPIC -DPIC -o config.o >/dev/null 2>&1
compute_engine.cpp: In member function 'virtual void ixion::draft::compute_engine::compute_fibonacci(ixion::draft::array&)':
compute_engine.cpp:127:12: error: 'struct ixion::draft::array' has no member named 'uint32'
127 | io.uint32[i] = fibonacci(io.uint32[i]);
| ^~~~~~
compute_engine.cpp:127:37: error: 'struct ixion::draft::array' has no member named 'uint32'
127 | io.uint32[i] = fibonacci(io.uint32[i]);
| ^~~~~~
make[4]: *** [Makefile:1011: compute_engine.lo] Error 1
make[4]: *** Waiting for unfinished jobs....
One more of #include <cstdint> missing.
libixion 0.20.0 as in NEW for experimental (and required for LO 25.8) already fixes this.
If we ever needed to keep 0.19.x for a while (and/or a new 0.19.x upload) I will fix this in git for that one, too.
Regards,
Rene
Reply to: