summaryrefslogtreecommitdiff
path: root/LibGUI
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-02-15 12:39:16 +0100
committerAndreas Kling <awesomekling@gmail.com>2019-02-15 12:39:16 +0100
commitdf6aaaeeef5777dbf3bbdff6b4651ff891fa5a35 (patch)
tree59e34ada56a95a87adf86f8946a6bbe9fce3f007 /LibGUI
parent56f0a30f9b014df71afb8cd90cd234d9c3c6c87e (diff)
downloadserenity-df6aaaeeef5777dbf3bbdff6b4651ff891fa5a35.zip
Enable -Wimplicit-fallthrough.
Diffstat (limited to 'LibGUI')
-rw-r--r--LibGUI/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/LibGUI/Makefile b/LibGUI/Makefile
index e1dcfaa385..685a6eb02a 100644
--- a/LibGUI/Makefile
+++ b/LibGUI/Makefile
@@ -37,7 +37,7 @@ LIBRARY = LibGUI.a
ARCH_FLAGS =
STANDARD_FLAGS = -std=c++17 -nostdinc++ -nostdlib -nostdinc
LIBC_FLAGS = -ffreestanding -fno-stack-protector -fno-ident
-WARNING_FLAGS = -Wextra -Wall -Wundef -Wcast-qual -Wwrite-strings
+WARNING_FLAGS = -Wextra -Wall -Wundef -Wcast-qual -Wwrite-strings -Wimplicit-fallthrough
FLAVOR_FLAGS = -fomit-frame-pointer -march=i386 -m32 -fno-exceptions -fno-rtti -ffunction-sections -fdata-sections -fmerge-all-constants -fno-unroll-loops -fno-pie -fno-pic
OPTIMIZATION_FLAGS = -Oz -fno-asynchronous-unwind-tables
INCLUDE_FLAGS = -I../LibC -I.. -I.