From 1e7327b0592b5137384d3ac139e1651a58d1fed2 Mon Sep 17 00:00:00 2001 From: Vladimir Panteleev Date: Sun, 7 May 2017 14:22:39 +0000 Subject: [PATCH] posix.mak: Discard DDoc output of DDoc warning test Send documentation output to /dev/null when checking for warnings. --- posix.mak | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/posix.mak b/posix.mak index 87f72efe363..dbd217db0db 100644 --- a/posix.mak +++ b/posix.mak @@ -541,7 +541,7 @@ style: ../dscanner/dsc $(LIB) has_public_example publictests done @echo "Check that Ddoc runs without errors" - $(DMD) $(DFLAGS) -defaultlib= -debuglib= $(LIB) -w -D -main -c -o- $$(find etc std -type f -name '*.d') 2>&1 | grep -v "Deprecation:"; test $$? -eq 1 + $(DMD) $(DFLAGS) -defaultlib= -debuglib= $(LIB) -w -D -Df/dev/null -main -c -o- $$(find etc std -type f -name '*.d') 2>&1 | grep -v "Deprecation:"; test $$? -eq 1 # at the moment libdparse has problems to parse some modules (->excludes) @echo "Running DScanner"