From 8bf2cabb8a0a51caf1ff029f4fd13fcfa4caf580 Mon Sep 17 00:00:00 2001 From: Jose Date: Tue, 17 Dec 2024 18:27:41 +0100 Subject: [PATCH] Enable reoder-init-list clang warning --- config/Make.rules.Darwin | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/Make.rules.Darwin b/config/Make.rules.Darwin index d7bb6d157ca..a801a3b561e 100644 --- a/config/Make.rules.Darwin +++ b/config/Make.rules.Darwin @@ -46,7 +46,7 @@ mcpp_ldflags := $(MCPP_HOME)/lib/libmcpp.a # the compiler. cppflags = -fvisibility=hidden -Wall -Wextra -Wshadow -Wshadow-all -Wredundant-decls -Wno-shadow-field \ -Wdeprecated -Wstrict-prototypes -Werror -Wconversion -Wdocumentation -Wno-shadow-uncaptured-local \ - -pthread \ + -Wreorder-init-list -pthread \ $(if $(filter yes,$(OPTIMIZE)),-O2 -DNDEBUG,-g) ifeq ($(MAXWARN),yes)