Skip to content

Commit

Permalink
Enable reoder-init-list clang warning
Browse files Browse the repository at this point in the history
  • Loading branch information
pepone committed Dec 17, 2024
1 parent 9d72054 commit 8bf2cab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/Make.rules.Darwin
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 8bf2cab

Please sign in to comment.