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

Fails to build with GCC 10: ‘uint64_t’ does not name a type #2746

Closed
bertogg opened this issue Apr 19, 2020 · 0 comments · Fixed by #2747
Closed

Fails to build with GCC 10: ‘uint64_t’ does not name a type #2746

bertogg opened this issue Apr 19, 2020 · 0 comments · Fixed by #2747

Comments

@bertogg
Copy link

bertogg commented Apr 19, 2020

Hi, while building this with GCC 10 I found the following error:

In file included from src/multipath_alignment_graph.hpp:15,
                 from src/multipath_alignment_graph.cpp:5:
include/structures/rank_pairing_heap.hpp:114:5: error: ‘uint64_t’ does not name a type; did you mean ‘u_int64_t’?
  114 |     uint64_t rank = 0;
      |     ^~~~~~~~
      |     u_int64_t

It looks like src/include/structures/rank_pairing_heap.hpp is missing an #include <cstdint>, which is where uint64_t and friends are defined.

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 a pull request may close this issue.

1 participant