-
-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Description
Description
When compiling Blaze with MinGW 14.2.0 on Windows, the build fails with an ambiguous constructor error in the sourcemeta_core_jsonpointer component.
Error Location
The error occurs at
- File:
deps/blaze/vendor/core/src/core/jsonpointer/parser.h - Where: result.emplace_back(internal::parse_index(string, column))
Root Cause
1.The parse_index() function returns a long unsigned int
2.The code attempts to construct a GenericToken with this value
3.The compiler cannot decide between multiple constructors:
GenericToken(const int value)- jsonpointer_token.hGenericToken(const Index value)where Index is long long unsigned intGenericToken(const JSON::Char value)
Reproduction
Using MinGW to build with
cmake -Bbuild -G "MinGW Makefiles" -DCMAKE_BUILD_TYPE=Release
cmake --build build --config Release
Metadata
Metadata
Assignees
Labels
No labels