Skip to content

utils.hpp missing cstdint #43

@RPGillespie6

Description

@RPGillespie6

I get the following compile error on g++ 13.2:

../ext/gzip/utils.hpp:15:36: error: ‘uint8_t’ does not name a type
   15 |                        static_cast<uint8_t>(data[0]) == 0x78 &&
../ext/gzip/utils.hpp:2:1: note: ‘uint8_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
    1 | #include <cstdlib>
  +++ |+#include <cstdint>

Adding #include <cstdint> to utils.hpp fixes the issue

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions