kuzu
kuzu copied to clipboard
[MSVC] serializeValue: no matching overloaded function found
I'm getting a couple of those compile errors:
C:\dev\kuzu\src\include\common/serializer/serializer.h(59,17): error C2672: 'kuzu::common::Serializer::serializeValue': no matching overloaded function found [C:\dev\kuzu\build\src\catalog\catalog_entry\kuzu_catalog_entry.vcxproj]
C:\dev\kuzu\src\include\common/serializer/serializer.h(21,10): message : could be 'void kuzu::common::Serializer::serializeValue(const T &)' [C:\dev\kuzu\build\src\catalog\catalog_entry\kuzu_catalog_entry.vcxproj]
C:\dev\kuzu\src\include\common/serializer/serializer.h(59,17): message : the associated constraints are not satisfied [C:\dev\kuzu\build\src\catalog\catalog_entry\kuzu_catalog_entry.vcxproj]
C:\dev\kuzu\src\include\common/serializer/serializer.h(20,18): message : the constraint was not satisfied [C:\dev\kuzu\build\src\catalog\catalog_entry\kuzu_catalog_entry.vcxproj]
C:\dev\kuzu\src\include\common/serializer/serializer.h(20,62): message : the constraint was not satisfied [C:\dev\kuzu\build\src\catalog\catalog_entry\kuzu_catalog_entry.vcxproj]
C:\dev\kuzu\src\catalog\catalog_entry\table_catalog_entry.cpp(109,42): message : see reference to function template instantiation 'void kuzu::common::Serializer::serializeVector<kuzu::catalog::Property>(const std::vector<kuzu::catalog::Property,std::allocator<kuzu::cat
alog::Property>> &)' being compiled [C:\dev\kuzu\build\src\catalog\catalog_entry\kuzu_catalog_entry.vcxproj]
while compiling on MSVC for Windows 11 x64:
MSBuild version 17.9.8+b34f75857 for .NET Framework
-- Selecting Windows SDK version 10.0.22621.0 to target Windows 10.0.22631.
-- The CXX compiler identification is MSVC 19.34.31948.0
-- The C compiler identification is MSVC 19.34.31948.0
All of the missing serializer implementations (for kuzu::common::Serializer::serializeVector
) here:
-
kuzu::catalog::Property
-
kuzu::common::StructField
-
kuzu::parser::ParsedCaseAlternative
with current master (and starting from v0.4.0). d946982e7 still built fine.