diff options
| author | Léo Lam <leo@leolam.fr> | 2020-12-06 02:13:19 +0100 |
|---|---|---|
| committer | Léo Lam <leo@leolam.fr> | 2020-12-06 02:34:47 +0100 |
| commit | f99debc7efcf248838aa133c39c599bb76241bca (patch) | |
| tree | b407515a775fc7e4f88dc3ff8c1c162446462f57 /CMakeLists.txt | |
| parent | 49097ad9e6dbe83762d6f0701af0039a5edd6af0 (diff) | |
Enable -Wdeprecated warnings and fix them
Diffstat (limited to 'CMakeLists.txt')
| -rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index af74dbfa..15393254 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -15,7 +15,7 @@ set(CMAKE_CXX_EXTENSIONS OFF) add_executable(uking) target_include_directories(uking PRIVATE src) target_compile_options(uking PRIVATE -fno-rtti -fno-exceptions) -target_compile_options(uking PRIVATE -Wall -Wextra) +target_compile_options(uking PRIVATE -Wall -Wextra -Wdeprecated) target_compile_options(uking PRIVATE -fno-strict-aliasing) target_compile_options(uking PRIVATE -Wno-invalid-offsetof) |
