From 4e297bfee4ce0c747d0a8cb7f81317ecabf1faaf Mon Sep 17 00:00:00 2001 From: tangxifan Date: Wed, 17 Aug 2022 19:22:46 -0700 Subject: [PATCH] [script] revert compilation warning flags --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index ae082c014..ca5213407 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -121,7 +121,7 @@ else () "-Winit-self" #Warn about self-initialization "-Wcatch-value=3" #Warn when catch statements don't catch by reference "-Wextra-semi" #Warn about redudnant semicolons - "-Wimplicit-fallthrough=4" #Warn about case fallthroughs, but allow 'fallthrough' comments to suppress warnings + "-Wimplicit-fallthrough=3" #Warn about case fallthroughs, but allow 'fallthrough' comments to suppress warnings #GCC-like optional #"-Wsuggest-final-types" #Suggest where 'final' would help if specified on a type methods #"-Wsuggest-final-methods" #Suggest where 'final' would help if specified on methods