Without the change build fails against `gcc-13` on `master` as
https://hydra.nixos.org/build/246586824:
gcode.h:54:24: error: 'uint8_t' was not declared in this scope
54 | vector<uint8_t> getBinary() const;
| ^~~~~~~
gcode.h:9:1: note: 'uint8_t' is defined in header '<cstdint>'; did you forget to '#include <cstdint>'?
8 | #include <vector>
+++ |+#include <cstdint>
9 |
Without the change build fails against `gcc-13` on `master` as
https://hydra.nixos.org/build/246569430:
In file included from /build/source/apps/m17-mod.cpp:3:
/build/source/include/m17cxx/Util.h:213:47: error: 'uint8_t' was not declared in this scope
213 | constexpr bool get_bit_index(const std::array<uint8_t, N>& input, size_t index)
| ^~~~~~~
/build/source/include/m17cxx/Util.h:12:1: note: 'uint8_t' is defined in header '<cstdint>'; did you forget to '#include <cstdint>'?
11 | #include <limits>
+++ |+#include <cstdint>
12 |
Without the change build fails against `gcc-13` on `master` as
https://hydra.nixos.org/build/246520454:
In file included from /build/source/src/actor.h:40,
from /build/source/src/g_blake/a_smartanim.cpp:36:
/build/source/src/gamemap.h:255:64: error: 'std::uint16_t' has not been declared
255 | void OperateConcession(std::uint16_t concession);
| ^~~~~~~~
Neither Arch nor Fedora packaging run `make`, `make all`, or `make
build`, and it seems to be unnecessary to just get the manpages (it
builds HTML docs etc.), so skipping it.
With `rustc` 1.75, many rust project that use `#[deny(warnings)]`
stopped building due to unused imports that didn't trigger build
failures before for some reason.
`stratisd` now also fails to build because of a couple of those,
but they have already been fixed upstream in the following two
commits:
- 78440de6e6
- 0d1c67f713
In the meantime until a new version of `stratisd` is released,
this change pulls in those two changes via `fetchpatch`.
Co-authored-by: Nick Cao <nickcao@nichi.co>