meson.build: require GCC 12 or clang 14

GCC 10 doesn't have std::make_unique_for_overwrite(), so let's drop it.
This commit is contained in:
Max Kellermann
2025-01-29 12:23:17 +01:00
parent 8ea3f86f43
commit ab011adf77
6 changed files with 11 additions and 16 deletions

View File

@@ -12,7 +12,7 @@ Code Style
* indent with tabs (width 8)
* don't write CPP when you can write C++: use inline functions and constexpr instead of macros
* comment your code, document your APIs
* the code should be C++20 compliant, and must compile with :program:`GCC` 10 and :program:`clang` 11
* the code should be C++20 compliant, and must compile with :program:`GCC` 12 and :program:`clang` 14
* all code must be exception-safe
* classes and functions names use CamelCase; variables are lower-case with words separated by underscore

View File

@@ -57,7 +57,7 @@ and unpack it (or `clone the git repository
In any case, you need:
* a C++20 compiler (e.g. GCC 10 or clang 11)
* a C++20 compiler (e.g. GCC 12 or clang 14)
* `Meson 1.0 <http://mesonbuild.com/>`__ and `Ninja
<https://ninja-build.org/>`__
* pkg-config