Skip to content

NebulaGraph CPP complie error #138

@gamawangzi

Description

@gamawangzi

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 {

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions