Closed DerThorsten closed 7 months ago
superseded by #396
JSON_USE_IMPLICIT_CONVERSIONS
Can you also set
JSON_USE_IMPLICIT_CONVERSIONS
to 0 inxeus.hpp
? This would catch potential remaining similar issues, and would avod to get hit again in the future.
this gives a lot of warnings a la:
/Users/thorstenbeier/src/xeus/include/xeus/xeus.hpp:13:9: warning: 'JSON_USE_IMPLICIT_CONVERSIONS' macro redefined [-Wmacro-redefined]
13 | #define JSON_USE_IMPLICIT_CONVERSIONS 0
| ^
/Users/thorstenbeier/micromamba/envs/xeus-wasm-dev/include/nlohmann/detail/macro_scope.hpp:467:13: note: previous definition is here
467 | #define JSON_USE_IMPLICIT_CONVERSIONS 1
Ah, so it should probably be defined befor including nlohmann_json for the first time. Let's fix that in another PR.
Can you also set
JSON_USE_IMPLICIT_CONVERSIONS
to 0 inxeus.hpp
? This would catch potential remaining similar issues, and would avod to get hit again in the future.