m17-cxx-demod icon indicating copy to clipboard operation
m17-cxx-demod copied to clipboard

include/m17cxx/Util.h: add missing `<cstdint>` include

Open trofi opened this issue 1 year ago • 0 comments

Without the change build fails on gcc-13 as:

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 |

trofi avatar Jan 24 '24 10:01 trofi