-
Notifications
You must be signed in to change notification settings - Fork 19
Closed
Description
The wrap file specifies version 3.11.2, which does not have nlohmann/json#4161, leading to build failures with clang, e.g.
[89/596] Compiling C++ object subprojects/libpisp/src/libpisp.so.1.3.0.p/libpisp_backend_backend_default_config.cpp.o
FAILED: [code=1] subprojects/libpisp/src/libpisp.so.1.3.0.p/libpisp_backend_backend_default_config.cpp.o
clang++ -Isubprojects/libpisp/src/libpisp.so.1.3.0.p -Isubprojects/libpisp/src -I../subprojects/libpisp/src -Isubprojects/libpisp/src/libpisp -I../subprojects/libpisp/src/libpisp -I../subprojects/nlohmann_json-3.11.2/single_include -fdiagnostics-color=always -D_GLIBCXX_ASSERTIONS=1 -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -D_GLIBCXX_DEBUG=1 -U_LIBCPP_HARDENING_MODE -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_DEBUG -std=c++17 -O0 -g -DPISP_LOGGING_ENABLE=0 -Wno-address-of-packed-member -fPIC -pthread -MD -MQ subprojects/libpisp/src/libpisp.so.1.3.0.p/libpisp_backend_backend_default_config.cpp.o -MF subprojects/libpisp/src/libpisp.so.1.3.0.p/libpisp_backend_backend_default_config.cpp.o.d -o subprojects/libpisp/src/libpisp.so.1.3.0.p/libpisp_backend_backend_default_config.cpp.o -c ../subprojects/libpisp/src/libpisp/backend/backend_default_config.cpp
In file included from ../subprojects/libpisp/src/libpisp/backend/backend_default_config.cpp:18:
../subprojects/nlohmann_json-3.11.2/single_include/nlohmann/json.hpp:24314:35: error: identifier '_json' preceded by whitespace in a literal operator declaration is deprecated [-Werror,-Wdeprecated-literal-operator]
24314 | inline nlohmann::json operator "" _json(const char* s, std::size_t n)
| ~~~~~~~~~~~~^~~~~
| operator""_json
../subprojects/nlohmann_json-3.11.2/single_include/nlohmann/json.hpp:24322:49: error: identifier '_json_pointer' preceded by whitespace in a literal operator declaration is deprecated [-Werror,-Wdeprecated-literal-operator]
24322 | inline nlohmann::json::json_pointer operator "" _json_pointer(const char* s, std::size_t n)
| ~~~~~~~~~~~~^~~~~~~~~~~~~
| operator""_json_pointer
../subprojects/nlohmann_json-3.11.2/single_include/nlohmann/json.hpp:24386:58: error: identifier '_json' preceded by whitespace in a literal operator declaration is deprecated [-Werror,-Wdeprecated-literal-operator]
24386 | using nlohmann::literals::json_literals::operator "" _json; // NOLINT(misc-unused-using-decls,google-global-names-in-headers)
| ~~~~~~~~~~~~^~~~~
| operator""_json
../subprojects/nlohmann_json-3.11.2/single_include/nlohmann/json.hpp:24387:58: error: identifier '_json_pointer' preceded by whitespace in a literal operator declaration is deprecated [-Werror,-Wdeprecated-literal-operator]
24387 | using nlohmann::literals::json_literals::operator "" _json_pointer; //NOLINT(misc-unused-using-decls,google-global-names-in-headers)
| ~~~~~~~~~~~~^~~~~~~~~~~~~
| operator""_json_pointer
4 errors generated.
Metadata
Metadata
Assignees
Labels
No labels