summaryrefslogtreecommitdiffstats
path: root/SetFlags.cmake
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@outlook.com>2020-07-13 00:38:08 +0200
committerTiger Wang <ziwei.tiger@outlook.com>2020-07-13 00:38:08 +0200
commitbd20afd6ce3d72998bff1dbcc0eaa035fedd08ab (patch)
tree03503b04fb0fcbc5c8a064fda78daf56f039d5e3 /SetFlags.cmake
parentAddress comments (diff)
downloadcuberite-bd20afd6ce3d72998bff1dbcc0eaa035fedd08ab.tar
cuberite-bd20afd6ce3d72998bff1dbcc0eaa035fedd08ab.tar.gz
cuberite-bd20afd6ce3d72998bff1dbcc0eaa035fedd08ab.tar.bz2
cuberite-bd20afd6ce3d72998bff1dbcc0eaa035fedd08ab.tar.lz
cuberite-bd20afd6ce3d72998bff1dbcc0eaa035fedd08ab.tar.xz
cuberite-bd20afd6ce3d72998bff1dbcc0eaa035fedd08ab.tar.zst
cuberite-bd20afd6ce3d72998bff1dbcc0eaa035fedd08ab.zip
Diffstat (limited to '')
-rw-r--r--SetFlags.cmake5
1 files changed, 4 insertions, 1 deletions
diff --git a/SetFlags.cmake b/SetFlags.cmake
index 9c635b5fd..cf8cacd47 100644
--- a/SetFlags.cmake
+++ b/SetFlags.cmake
@@ -129,6 +129,9 @@ function(set_exe_flags TARGET)
# All warnings:
-Wall -Wextra
+
+ # Excessive amount of logspam, disable for now:
+ -Wno-unused-parameter
)
if(CMAKE_CXX_COMPILE_ID STREQUAL "Clang")
@@ -140,7 +143,7 @@ function(set_exe_flags TARGET)
# TODO: actually fix the warnings instead of disabling them
# or at least disable on a file-level basis:
- -Wno-unused-parameter -Wno-missing-noreturn -Wno-padded -Wno-implicit-fallthrough
+ -Wno-missing-noreturn -Wno-padded -Wno-implicit-fallthrough
-Wno-double-promotion
# This is a pretty useless warning, we've already got -Wswitch which is what we need: