Error building with GCC 15.1.1
Brought to you by:
hoffmannr
Building worker 5.2.1 results in an error:
In file included from request.h:26,
from request.cc:22:
textstorage.h:129:46: error: ‘uint8_t’ was not declared in this scope
129 | std::vector< std::tuple< size_t, size_t, uint8_t > > m_converted_pos_to_raw_snapshots;
| ^~~~~~~
textstorage.h:31:1: note: ‘uint8_t’ is defined in header ‘<cstdint>’; this is probably fixable by adding ‘#include <cstdint>’
30 | #include "refcount.hh"
+++ |+#include <cstdint>
31 |
textstorage.h:129:54: error: template argument 3 is invalid
129 | std::vector< std::tuple< size_t, size_t, uint8_t > > m_converted_pos_to_raw_snapshots;
| ^
textstorage.h:129:56: error: template argument 1 is invalid
129 | std::vector< std::tuple< size_t, size_t, uint8_t > > m_converted_pos_to_raw_snapshots;
| ^
textstorage.h:129:56: error: template argument 2 is invalid
textstorage.h:150:63: error: ‘uint8_t’ has not been declared
150 | void storePosToRaw( size_t raw_pos, size_t converted_pos, uint8_t column );
| ^~~~~~~
textstorage.h:150:63: note: ‘uint8_t’ is defined in header ‘<cstdint>’; this is probably fixable by adding ‘#include <cstdint>’
textstorage.h:151:41: error: ‘uint8_t’ has not been declared
151 | int convert_symbol( const char *in, uint8_t *column,
| ^~~~~~~
textstorage.h:151:41: note: ‘uint8_t’ is defined in header ‘<cstdint>’; this is probably fixable by adding ‘#include <cstdint>’
textstorage.h:161:41: error: ‘uint8_t’ was not declared in this scope
161 | mutable std::tuple< size_t, size_t, uint8_t > m_last_raw_lookup;
| ^~~~~~~
textstorage.h:161:41: note: ‘uint8_t’ is defined in header ‘<cstdint>’; this is probably fixable by adding ‘#include <cstdint>’
textstorage.h:161:49: error: template argument 3 is invalid
161 | mutable std::tuple< size_t, size_t, uint8_t > m_last_raw_lookup;
| ^
make[4]: *** [Makefile:643: request.o] Error 1
make[4]: Leaving directory '/home/ideasman42/.cache/yay/worker/src/worker-5.2.1/src/aguix'
make[3]: *** [Makefile:522: all] Error 2
make[3]: Leaving directory '/home/ideasman42/.cache/yay/worker/src/worker-5.2.1/src/aguix'
make[2]: *** [Makefile:1882: all-recursive] Error 1
make[2]: Leaving directory '/home/ideasman42/.cache/yay/worker/src/worker-5.2.1/src'
make[1]: *** [Makefile:1473: all] Error 2
make[1]: Leaving directory '/home/ideasman42/.cache/yay/worker/src/worker-5.2.1/src'
make: *** [Makefile:432: all-recursive] Error 1
==> ERROR: A failure occurred in build().