Without the change the build on upcoming `gcc-13` ails as:
src/lib/base/Log.cpp: In member function 'void Log::print(const char*, int, const char*, ...)':
src/lib/base/Log.cpp:128:23:
error: 'SIZE_MAX' was not declared in this scope
128 | if ((strnlen(fmt, SIZE_MAX) > 2) && (fmt[0] == '%' && fmt[1] == 'z')) {
| ^~~~~~~~
src/lib/base/Log.cpp:30:1:
note: 'SIZE_MAX' is defined in header '<cstdint>'; did you forget to '#include <cstdint>'?
29 | #include <ctime>
+++ |+#include <cstdint>
30 |
gcc-13 cleaned it's header dependencies and that exposes these failures.
|
||
|---|---|---|
| .. | ||
| cmd | ||
| gui | ||
| lib | ||
| test | ||
| CMakeLists.txt | ||