1
0
Fork 0

Reduce buildlogspam

- Turn off unused parameter warning
This commit is contained in:
Tiger Wang 2020-07-12 23:38:08 +01:00
parent 4f85931c42
commit bd20afd6ce
1 changed files with 4 additions and 1 deletions

View File

@ -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: