Skip to content

Include cstdint in gz#40

Merged
jermp merged 1 commit intojermp:masterfrom
adamant-pwn:patch-1
Jan 19, 2024
Merged

Include cstdint in gz#40
jermp merged 1 commit intojermp:masterfrom
adamant-pwn:patch-1

Conversation

@adamant-pwn
Copy link
Copy Markdown
Contributor

On some setups, I get a bunch of errors that look like

In file included from /home/adamant/sshash-jermp/include/gz/zip_stream.cpp:1:
/home/adamant/sshash-jermp/include/gz/zip_stream.hpp:121:5: error: ‘uint32_t’ does not name a type
  121 |     uint32_t get_crc() const;
      |     ^~~~~~~~
/home/adamant/sshash-jermp/include/gz/zip_stream.hpp:67:1: note: ‘uint32_t’ is defined in header ‘<cstdint>; did you forget to ‘#include <cstdint>’?
   66 | #include <vector>
  +++ |+#include <cstdint>
   67 | 
/home/adamant/sshash-jermp/include/gz/zip_stream.hpp:124:5: error: ‘uint32_t’ does not name a type
  124 |     uint32_t get_in_size() const;
      |     ^~~~~~~~
/home/adamant/sshash-jermp/include/gz/zip_stream.hpp:124:5: note: ‘uint32_t’ is defined in header ‘<cstdint>; did you forget to ‘#include <cstdint>’?
/home/adamant/sshash-jermp/include/gz/zip_stream.hpp:137:5: error: ‘uint32_t’ does not name a type
  137 |     uint32_t crc_;
      |     ^~~~~~~~
/home/adamant/sshash-jermp/include/gz/zip_stream.hpp:137:5: note: ‘uint32_t’ is defined in header ‘<cstdint>; did you forget to ‘#include <cstdint>’?
/home/adamant/sshash-jermp/include/gz/zip_stream.hpp:180:5: error: ‘uint32_t’ does not name a type
  180 |     uint32_t get_crc() const;
      |     ^~~~~~~~

This include fixes it.

@jermp jermp merged commit fd771a0 into jermp:master Jan 19, 2024
@jermp
Copy link
Copy Markdown
Owner

jermp commented Jan 19, 2024

Thanks!

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.

2 participants