1
0
mirror of https://github.com/nlohmann/json synced 2024-11-12 23:40:05 +00:00
nlohmannjson/test
Florian Albrechtskirchinger f208a9c19b
Fix C++20/gcc-12 issues (Part 1) (#3379)
* 🔧 use proper GCC binary

* 🔧 add more GCC warning flags

* ⚗️ try fix from https://github.com/nlohmann/json/issues/3138#issuecomment-1015562666

* Fix custom allocator test build failures (C++20)

Allocator tests fail to compile in C++20 mode with clang+MS STL due
to missing copy constructors.

* Fix test build failures due to missing noexcept (gcc-12)

* alt_string has multiple member functions that should be marked noexcept.
* nlohmann::ordered_map constructors can be noexcept.

Compilation failures result from the warning flag -Werror=noexcept and
gcc-12.

* Disable broken comparison tests in C++20 mode

Co-authored-by: Niels Lohmann <mail@nlohmann.me>
2022-03-07 22:19:28 +01: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 Fix C++20/gcc-12 issues (Part 1) (#3379) 2022-03-07 22:19:28 +01:00
thirdparty Fix extra ";" clang warnings 2021-08-19 17:04:34 +02:00
CMakeLists.txt FetchContent_MakeAvailable (#3351) 2022-03-06 15:33:05 +01:00
Makefile 🔥 remove test Makefile targets (all handled by CMake) 2020-07-16 13:38:25 +02:00