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

adding cstdint to base64Layer to kill compilation error #6

Merged
merged 1 commit into from
Nov 27, 2023

Conversation

mtao
Copy link
Contributor

@mtao mtao commented Nov 27, 2023

Was getting errors on gcc (Gentoo 13.2.1_p20230826 p7) 13.2.1 20230826 that looked like:

In file included from /home/mtao/git/wildmeshing-toolkit/build/_deps/paraviewo-src/src/paraviewo/base64Layer.cpp:1:
/home/mtao/git/wildmeshing-toolkit/build/_deps/paraviewo-src/src/paraviewo/base64Layer.hpp:43:41: error: ‘uint64_t’ does not name a type
   43 |                 inline void write(const uint64_t v) { write(reinterpret_cast<const char *>(&v), sizeof(uint64_t)); }
      |                                         ^~~~~~~~
/home/mtao/git/wildmeshing-toolkit/build/_deps/paraviewo-src/src/paraviewo/base64Layer.hpp:4:1: note: ‘uint64_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
    3 | #include <iostream>
  +++ |+#include <cstdint>
    4 |

Just did the change requested by the compiler.

@mtao mtao requested a review from teseoch November 27, 2023 00:29
@mtao mtao merged commit 5e0218b into main Nov 27, 2023
6 checks passed
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