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

linux compile fixes #2

Open
wants to merge 2 commits into
base: ct
Choose a base branch
from

Conversation

pseiderer
Copy link

  • util: add missing cstdint include
  • txtz: add missing cstdint include

Fixes:

  .../src/util.cpp: In function ‘std::string util::escaped(const std::string&)’:
  .../src/util.cpp:52:111: error: ‘uint8_t’ was not declared in this scope
     52 | std::oct << std::setfill('0') << static_cast<unsigned int>((uint8_t)c);
        |                                                             ^~~~~~~
Fixes:

  .../src/txtz.hpp:49:21: error: ‘uint8_t’ was not declared in this scope
     49 |         std::vector<uint8_t> compress(std::string const &, std::size_t &);
        |                     ^~~~~~~
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