-
Notifications
You must be signed in to change notification settings - Fork 49
Closed
Description
When I use vcpkg to compile the cppgraphqlgen library, a compilation error occurs using the following command.
./vcpkg install cppgraphqlgen[core,rapidjson]:x64-linux
error:
/usr/include/c++/13/bits/unique_ptr.h:99:9: error: ‘void operator delete(void*, std::size_t)’ called on unallocated object ‘<anonymous>’ [-Werror=free-nonheap-object]
99 | delete __ptr;
| ^~~~~~~~~~~~
/root/vcpkg/buildtrees/cppgraphqlgen/src/v4.5.5-147cf636ad.clean/src/GraphQLResponse.cpp: In constructor ‘graphql::response::Value::Value(graphql::response::Type)’:
/root/vcpkg/buildtrees/cppgraphqlgen/src/v4.5.5-147cf636ad.clean/src/GraphQLResponse.cpp:931:47: note: declared here
931 | _data = { EnumData {} };
| ^
cc1plus: all warnings being treated as errors
Metadata
Metadata
Assignees
Labels
No labels