diff options
| author | Martin Hořeňovský | 2022-05-03 10:49:45 +0200 |
|---|---|---|
| committer | Martin Hořeňovský | 2022-05-03 13:54:07 +0200 |
| commit | 91ea25e51ac122b2ab2363f89f5a6ee0b91c858c (patch) | |
| tree | 1fd51b51cd5898b3f9bb7166acd6e7ccea6bf963 /CMake | |
| parent | e2d07d35f4e31fa07fda89aadfb547e20b6b63b3 (diff) | |
| download | catch3-91ea25e51ac122b2ab2363f89f5a6ee0b91c858c.tar.gz | |
Fix use of u8-literal that would break in C++20
Diffstat (limited to 'CMake')
| -rw-r--r-- | CMake/CatchMiscFunctions.cmake | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/CMake/CatchMiscFunctions.cmake b/CMake/CatchMiscFunctions.cmake index 21f4f6c0..ce66542b 100644 --- a/CMake/CatchMiscFunctions.cmake +++ b/CMake/CatchMiscFunctions.cmake @@ -45,6 +45,7 @@ function(add_warnings_to_targets targets) set(CHECKED_WARNING_FLAGS "-Wabsolute-value" "-Wall" + "-Wc++20-compat" "-Wcall-to-pure-virtual-from-ctor-dtor" "-Wcast-align" "-Wcatch-value" |