aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorseth <getchoo@tuta.io>2023-08-30 11:13:39 -0400
committerseth <getchoo@tuta.io>2023-08-30 11:14:49 -0400
commit584e800279351cdd592d1012ca885dd86b9f26f2 (patch)
treeca09c33695765eff5be0121662beee7b4b22b35d
parentb83fdbd1b752acdf555fb90d397ff61ddb896f2c (diff)
downloadPrismLauncher-584e800279351cdd592d1012ca885dd86b9f26f2.tar.gz
PrismLauncher-584e800279351cdd592d1012ca885dd86b9f26f2.tar.bz2
PrismLauncher-584e800279351cdd592d1012ca885dd86b9f26f2.zip
fix: remove -Wextra-semi
this flag is unavailable on gcc versions < 8. we could detect the version of the compiler here, but i don't think we lose much in this flags removal and this is a simpler option Signed-off-by: seth <getchoo@tuta.io>
-rw-r--r--cmake/CompilerWarnings.cmake1
1 files changed, 0 insertions, 1 deletions
diff --git a/cmake/CompilerWarnings.cmake b/cmake/CompilerWarnings.cmake
index 635e5428..69e57b4d 100644
--- a/cmake/CompilerWarnings.cmake
+++ b/cmake/CompilerWarnings.cmake
@@ -75,7 +75,6 @@ function(
set(CLANG_WARNINGS
-Wall
-Wextra # reasonable and standard
- -Wextra-semi # Warn about semicolon after in-class function definition.
-Wshadow # warn the user if a variable declaration shadows one from a parent context
-Wnon-virtual-dtor # warn the user if a class with virtual functions has a non-virtual destructor. This helps
# catch hard to track down memory errors