1
0
mirror of https://github.com/nlohmann/json synced 2024-11-25 13:20:05 +00:00
nlohmannjson/test
Florian Albrechtskirchinger c2054b96b9
Restore disabled check for #3070 (except on MSVC) (#3421)
Restore the previously disabled check for regression #3070 on all
compilers but MSVC.

To summarize the issue:
Given namespace fs = std::filesystem.
On MSVC attempting to construct an fs::path from json results in an
ambiguous overload resolution because fs::path can be constructed from
both a std::string as well as another fs::path.
To the best of my knowledge there is no way to fix an ambiguous overload
situation involving a type we do not control and with json implicitly
converting to both std::string and fs::path.

Re-enabling the check where it compiles and keeping it disabled for MSVC
is the best we can do.

Closes #3377 and #3382.
2022-04-06 08:25:35 +02:00
..
cmake_add_subdirectory annotate non-reproducible tests #2324 2020-08-30 13:23:34 +02:00
cmake_fetch_content 🐛 properly assign two labels to one test case #2596 2021-01-27 14:22:58 +01:00
cmake_fetch_content2 FetchContent_MakeAvailable (#3351) 2022-03-06 15:33:05 +01:00
cmake_import annotate non-reproducible tests #2324 2020-08-30 13:23:34 +02:00
cmake_import_minver annotate non-reproducible tests #2324 2020-08-30 13:23:34 +02:00
cmake_target_include_directories annotate non-reproducible tests #2324 2020-08-30 13:23:34 +02:00
cuda_example Fix compilation error with NVCC (#3234) 2022-01-02 09:03:56 +01:00
reports added fuzzing results 2016-10-02 11:23:47 +02:00
src Restore disabled check for #3070 (except on MSVC) (#3421) 2022-04-06 08:25:35 +02:00
thirdparty Fix extra ";" clang warnings 2021-08-19 17:04:34 +02:00
CMakeLists.txt Improve unit testing (Part 1) (#3380) 2022-03-24 07:54:07 +01:00
Makefile 🔥 remove test Makefile targets (all handled by CMake) 2020-07-16 13:38:25 +02:00