Skip to content

Commit 88d4832

Browse files
authored
Simplify warning suppressions in Makefile
Removed unnecessary warning suppressions from EXTRA_WARN_SUPPRESS.
1 parent 8cdd114 commit 88d4832

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ ifneq ($(filter fast staticfast,$(MAKECMDGOALS)),)
9191
endif
9292

9393
# might need -Wno-vla-cxx-extension for clang>18?
94-
EXTRA_WARN_SUPPRESS := -Wno-vla-extension -Wno-unused-parameter -Wno-unused-variable -Wno-sign-compare -Wno-reorder-ctor -Wno-unused-function
94+
EXTRA_WARN_SUPPRESS := -Wno-vla-extension
9595

9696
CXXFLAGS := -std=c++17 -Wall $(OPTFLAGS) $(CXXFLAGS_SPECIFIC) $(EXTRA_WARN_SUPPRESS)
9797
ICFLAGS := -I$(GSLINCDIR) -I$(BOOSTINCDIR) -I$(HDF5INCDIR) -I.
@@ -133,4 +133,4 @@ $(ODIR)/%.o: %.cpp
133133
# Clean-up rule
134134
clean:
135135
@echo "Removing generated files..."
136-
@rm -rf $(ODIR) $(BDIR) COMPAS
136+
@rm -rf $(ODIR) $(BDIR) COMPAS

0 commit comments

Comments
 (0)