Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Include cstdint in gz #40

Merged
merged 1 commit into from
Jan 19, 2024
Merged

Include cstdint in gz #40

merged 1 commit into from
Jan 19, 2024

Conversation

adamant-pwn
Copy link
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
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