Skip to content

Commit

Permalink
Merge pull request #1170 from lairworks/improveMakeShowWarnings
Browse files Browse the repository at this point in the history
Improve `make show-warnings`
  • Loading branch information
DanRStevens authored Nov 9, 2024
2 parents ea66ade + 2d58074 commit 240ddcc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion makefile
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,9 @@ $(PACKAGE_NAME): $(OUTPUT) $(shell find $(SRCDIR) -name '*.h')

.PHONY: show-warnings
show-warnings:
$(MAKE) -j1 clean all CXX=clang++ CXXFLAGS_WARN=-Weverything 2>&1 >/dev/null | grep -o "\[-W.*\]" | sort | uniq
@$(MAKE) clean > /dev/null
$(MAKE) --output-sync all CXX=clang++ CXXFLAGS_WARN=-Weverything 2>&1 >/dev/null | grep -o "\[-W.*\]" | sort | uniq
@$(MAKE) clean > /dev/null

.PHONY: lint
lint: cppcheck cppclean
Expand Down

0 comments on commit 240ddcc

Please sign in to comment.