1234567891011121314151617181920212223242526272829303132 |
- CXXFLAGS_WARNINGS += -Wcast-align -Wcast-qual -Wmissing-prototypes -Wshift-count-negative -Wshift-count-overflow -Wshift-op-parentheses -Wshift-overflow -Wshift-sign-overflow -Wundef
- CFLAGS_WARNINGS += -Wcast-align -Wcast-qual -Wmissing-prototypes -Wshift-count-negative -Wshift-count-overflow -Wshift-op-parentheses -Wshift-overflow -Wshift-sign-overflow -Wundef
- CXXFLAGS_WARNINGS += -Wdeprecated -Wextra-semi -Wframe-larger-than=16000 -Wglobal-constructors -Wimplicit-fallthrough -Wmissing-declarations -Wnon-virtual-dtor -Wreserved-id-macro
- ifeq ($(MODERN),1)
- LDFLAGS += -fuse-ld=lld
- ifeq ($(OPTIMIZE_LTO),1)
- LDFLAGS += -Wl,--thinlto-jobs=all
- endif
- CXXFLAGS_WARNINGS +=
- CFLAGS_WARNINGS += -Wframe-larger-than=4000
- LDFLAGS_WARNINGS += -Wl,-no-undefined -Wl,--detect-odr-violations
- endif
- CFLAGS_SILENT += -Wno-\
- CFLAGS_SILENT += -Wno-cast-align
- CFLAGS_SILENT += -Wno-cast-qual
- CFLAGS_SILENT += -Wno-missing-prototypes
- CFLAGS_SILENT += -Wno-sign-compare
- CFLAGS_SILENT += -Wno-unused-function
- CFLAGS_SILENT += -Wno-unused-parameter
- CFLAGS_SILENT += -Wno-unused-variable
|