Remove -Wnoexcept

This commit is contained in:
2020-04-17 14:05:51 +02:00
parent d539e7f94b
commit cb45e375bc
+2 -2
View File
@@ -3,9 +3,9 @@
# #
CFLAGS += -g3 -O3 -fPIC -std=c++11 CFLAGS += -g3 -O3 -fPIC -std=c++11
CFLAGS += -Wall -Wextra -Wstrict-aliasing -pedantic -fmax-errors=5 -Werror -Wunreachable-code -Wdisabled-optimization -Wformat=2 -Winit-self -Wmissing-include-dirs -Wnoexcept -Woverloaded-virtual -Wsign-promo -Wstrict-null-sentinel -fdiagnostics-show-option CFLAGS += -Wall -Wextra -Wstrict-aliasing -pedantic -fmax-errors=5 -Werror -Wunreachable-code -Wdisabled-optimization -Wformat=2 -Winit-self -Wmissing-include-dirs -Woverloaded-virtual -Wsign-promo -Wstrict-null-sentinel -fdiagnostics-show-option
CFLAGS += -Wno-unused -Wno-variadic-macros -Wno-parentheses -Wno-unused-parameter CFLAGS += -Wno-unused -Wno-variadic-macros -Wno-parentheses -Wno-unused-parameter
# CFLAGS += -Wold-style-cast -Wundef -Wshadow -Wcast-qual -Wctor-dtor-privacy -Wredundant-decls -Wstrict-overflow=5 -Wcast-align -Wswitch-default -Wlogical-op # CFLAGS += -Wold-style-cast -Wundef -Wshadow -Wcast-qual -Wctor-dtor-privacy -Wredundant-decls -Wstrict-overflow=5 -Wcast-align -Wswitch-default -Wlogical-op -Wnoexcept
CFLAGS += -ffunction-sections -fdata-sections CFLAGS += -ffunction-sections -fdata-sections
LFLAGS += -Wl,--gc-sections LFLAGS += -Wl,--gc-sections