1
0
mirror of https://github.com/nlohmann/json synced 2024-11-12 23:40:05 +00:00
nlohmannjson/cmake
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
..
ci.cmake Fix C++20/gcc-12 issues (Part 1) (#3379) 2022-03-07 22:19:28 +01:00
config.cmake.in cmake: fix package config to deal with versioning and namespaces 2018-09-30 09:56:33 -04:00
download_test_data.cmake fix cmake script overwriting compiler path 2020-08-07 16:08:02 +08:00
nlohmann_jsonConfigVersion.cmake.in add comments 2020-04-17 15:44:12 -04:00
pkg-config.pc.in pkg-config.pc.in: Don't concatenate paths 2021-03-29 21:43:49 +00:00