From: <sv...@op...> - 2024-08-12 13:00:12
|
Author: manx Date: Mon Aug 12 15:00:04 2024 New Revision: 21388 URL: https://source.openmpt.org/browse/openmpt/?op=revision&rev=21388 Log: Revert r21384 and r21382. Merged revision(s) 21384, 21382 from trunk/OpenMPT: [Fix] build: Makefile: Clang: Fix ANCIENT=1. ........ [Imp] build: Makefile: Add back ANCIENT=1 optio to support older compilers with missing command line options. ........ Modified: trunk/OpenMPT/build/make/warnings-clang.mk Modified: trunk/OpenMPT/build/make/warnings-clang.mk ============================================================================== --- trunk/OpenMPT/build/make/warnings-clang.mk Mon Aug 12 14:58:58 2024 (r21387) +++ trunk/OpenMPT/build/make/warnings-clang.mk Mon Aug 12 15:00:04 2024 (r21388) @@ -2,13 +2,8 @@ CXXFLAGS_WARNINGS += -Wcast-align -Wcast-qual -Wdouble-promotion -Wfloat-conversion -Wmissing-prototypes -Wshift-count-negative -Wshift-count-overflow -Wshift-op-parentheses -Wshift-overflow -Wshift-sign-overflow -Wundef CFLAGS_WARNINGS += -Wcast-align -Wcast-qual -Wdouble-promotion -Wfloat-conversion -Wmissing-prototypes -Wshift-count-negative -Wshift-count-overflow -Wshift-op-parentheses -Wshift-overflow -Wshift-sign-overflow -Wundef -CXXFLAGS_WARNINGS += -Wdeprecated -Wexit-time-destructors -Wextra-semi -Wglobal-constructors -Wimplicit-fallthrough -Wmissing-declarations -Wnon-virtual-dtor -Wreserved-id-macro -CFLAGS_WARNINGS += - -ifneq ($(ANCIENT),1) -CXXFLAGS_WARNINGS += -Wframe-larger-than=16000 -CFLAGS_WARNINGS += -Wframe-larger-than=4000 -endif +CXXFLAGS_WARNINGS += -Wdeprecated -Wexit-time-destructors -Wextra-semi -Wframe-larger-than=16000 -Wglobal-constructors -Wimplicit-fallthrough -Wmissing-declarations -Wnon-virtual-dtor -Wreserved-id-macro +CFLAGS_WARNINGS += -Wframe-larger-than=4000 #CXXFLAGS_WARNINGS += -Wfloat-equal #CXXFLAGS_WARNINGS += -Wdocumentation @@ -26,19 +21,12 @@ CFLAGS_SILENT += -Wno-cast-qual CFLAGS_SILENT += -Wno-double-promotion CFLAGS_SILENT += -Wno-float-conversion -ifneq ($(ANCIENT),1) CFLAGS_SILENT += -Wno-frame-larger-than -endif CFLAGS_SILENT += -Wno-missing-prototypes CFLAGS_SILENT += -Wno-sign-compare -ifneq ($(ANCIENT),1) CFLAGS_SILENT += -Wno-unused-but-set-variable -endif CFLAGS_SILENT += -Wno-unused-function CFLAGS_SILENT += -Wno-unused-parameter CFLAGS_SILENT += -Wno-unused-variable - - - FASTMATH_STYLE=clang |