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

NebulaGraph CPP complie error #138

Open
gamawangzi opened this issue Aug 27, 2024 · 0 comments
Open

NebulaGraph CPP complie error #138

gamawangzi opened this issue Aug 27, 2024 · 0 comments

Comments

@gamawangzi
Copy link

I didn't encounter any errors when running cmake, but I ran into the following errors when running make ..

/home/wangqian/lib/cppnebulagraph/nebula-cpp/include/common/datatypes/Date.h:26:25: error: expected ‘)’ before ‘days’ 26 | explicit Date(uint64_t days); | ~ ^~~~~ | ) /home/wangqian/lib/cppnebulagraph/nebula-cpp/include/common/datatypes/Date.h:133:7: error: ‘uint64_t’ does not name a type 133 | uint64_t month : 4;
**then i add the #include but errors like this : **
In file included from /home/wangqian/lib/cppnebulagraph/nebula-cpp/include/common/geo/io/wkb/ByteOrderDataIOStream.h:10, from /home/wangqian/lib/cppnebulagraph/nebula-cpp/src/geo/io/wkb/ByteOrderDataIOStream.cpp:6: /home/wangqian/lib/cppnebulagraph/nebula-cpp/include/common/geo/io/wkb/ByteOrder.h:11:6: error: elaborated-type-specifier for a scoped enum must not use the ‘class’ keyword [-Werror] 11 | enum class ByteOrder : uint8_t { | ~~~~ ^~~~~ | ----- /home/wangqian/lib/cppnebulagraph/nebula-cpp/include/common/geo/io/wkb/ByteOrder.h:11:22: error: found ‘:’ in nested-name-specifier, expected ‘::’ 11 | enum class ByteOrder : uint8_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

No branches or pull requests

1 participant