summaryrefslogtreecommitdiff
path: root/tools/release/bjam_warnings.bat
diff options
context:
space:
mode:
Diffstat (limited to 'tools/release/bjam_warnings.bat')
-rw-r--r--tools/release/bjam_warnings.bat17
1 files changed, 17 insertions, 0 deletions
diff --git a/tools/release/bjam_warnings.bat b/tools/release/bjam_warnings.bat
new file mode 100644
index 0000000000..b45f4b785b
--- /dev/null
+++ b/tools/release/bjam_warnings.bat
@@ -0,0 +1,17 @@
+@echo off
+rem Scan bjam/b2 log file for compile warnings
+
+rem Copyright 2011 Beman Dawes
+
+rem Distributed under the Boost Software License, Version 1.0.
+rem See http://www.boost.org/LICENSE_1_0.txt
+
+if not %1$==$ goto usage_ok
+echo Usage: bjam_warnings log-path
+goto done
+
+:usage_ok
+
+grep -i "warning" %1 | grep -E "boost|libs" | sort | uniq
+
+:done