Build: Enable the -Werror flag.

Okay, I've now fixed all the warnings and it was pretty lame. Let's keep the
build warning-free from now on.
This commit is contained in:
Andreas Kling 2019-06-22 16:32:04 +02:00
parent 3ed17b0792
commit 04b2082e97
Notes: sideshowbarker 2024-07-19 13:30:55 +09:00

View file

@ -1,6 +1,6 @@
ARCH_FLAGS =
STANDARD_FLAGS = -std=c++17 -Wno-sized-deallocation -fno-sized-deallocation
WARNING_FLAGS = -Wextra -Wall -Wundef -Wcast-qual -Wwrite-strings -Wimplicit-fallthrough
WARNING_FLAGS = -Werror -Wextra -Wall -Wundef -Wcast-qual -Wwrite-strings -Wimplicit-fallthrough
FLAVOR_FLAGS = -fno-exceptions -fno-rtti
OPTIMIZATION_FLAGS = -Os