Skip to content

linux compile fixes#2

Open
pseiderer wants to merge 2 commits into
607011:ctfrom
pseiderer:ps-devel-linux-compile-fixes-002
Open

linux compile fixes#2
pseiderer wants to merge 2 commits into
607011:ctfrom
pseiderer:ps-devel-linux-compile-fixes-002

Conversation

@pseiderer
Copy link
Copy Markdown

  • 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