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

Fix compilation errors on latest clang 16. #54

Open
Changochen opened this issue Jun 26, 2024 · 0 comments
Open

Fix compilation errors on latest clang 16. #54

Changochen opened this issue Jun 26, 2024 · 0 comments

Comments

@Changochen
Copy link
Member

When testing with clang 16, the compilation fails:

In file included from /usr/local/google/home/yongheng/PolyGlot/srcs/internal/srcs/utils.cpp:21:
/usr/local/google/home/yongheng/PolyGlot/srcs/internal/include/utils.h:58:1: error: ‘uint64_t’ does not name a type
   58 | uint64_t ducking_hash(const void *key, int len);
      | ^~~~~~~~
/usr/local/google/home/yongheng/PolyGlot/srcs/internal/include/utils.h:35:1: note: ‘uint64_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
   34 | #include <vector>
  +++ |+#include <cstdint>
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

No branches or pull requests

1 participant