diff options
author | Alexey Rusakov <Kitsune-Ral@users.sf.net> | 2021-11-28 16:54:52 +0100 |
---|---|---|
committer | Alexey Rusakov <Kitsune-Ral@users.sf.net> | 2021-11-28 16:54:52 +0100 |
commit | efd07e0f728d08ff76975c7b053104ab05c48799 (patch) | |
tree | ed6fa923a0b21d33656ace6fa12c1d3b8321f83f | |
parent | 8a769cddcd1a063dd9400518ff65c0b1f1aec1b4 (diff) | |
download | libquotient-efd07e0f728d08ff76975c7b053104ab05c48799.tar.gz libquotient-efd07e0f728d08ff76975c7b053104ab05c48799.zip |
CMakeLists: drop obsolete -W from the warnings list
Turns out it's been deprecated by -Wextra since before Quotient existed.
-rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index eaf662cc..aa3b9c98 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -39,7 +39,7 @@ if (MSVC) /wd4464 /wd4505 /wd4514 /wd4571 /wd4619 /wd4623 /wd4625 /wd4626 /wd4706 /wd4710 /wd4774 /wd4820 /wd4946 /wd5026 /wd5027) else() - foreach (FLAG Wall W Wpedantic Wextra Werror=return-type Wno-unused-parameter + foreach (FLAG Wall Wpedantic Wextra Werror=return-type Wno-unused-parameter Wno-gnu-zero-variadic-macro-arguments fvisibility-inlines-hidden) CHECK_CXX_COMPILER_FLAG("-${FLAG}" COMPILER_${FLAG}_SUPPORTED) if ( COMPILER_${FLAG}_SUPPORTED AND |