Skip to content

Conversation

@trofi
Copy link

@trofi trofi commented Jan 24, 2024

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 |

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 |
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant