aboutsummaryrefslogtreecommitdiff
path: root/e2fslib/util/gcc-wall-cleanup
diff options
context:
space:
mode:
Diffstat (limited to 'e2fslib/util/gcc-wall-cleanup')
-rw-r--r--e2fslib/util/gcc-wall-cleanup17
1 files changed, 17 insertions, 0 deletions
diff --git a/e2fslib/util/gcc-wall-cleanup b/e2fslib/util/gcc-wall-cleanup
new file mode 100644
index 0000000..4d817b1
--- /dev/null
+++ b/e2fslib/util/gcc-wall-cleanup
@@ -0,0 +1,17 @@
+#!/bin/sed -f
+#
+# This script filters out gcc-wall crud that we're not interested in seeing.
+#
+/^cc /d
+/^kcc /d
+/^gcc /d
+/does not support `long long'/d
+/does not support the `ll' length modifier/d
+/ANSI C forbids long long integer constants/d
+/traditional C rejects string concatenation/d
+/integer constant is unsigned in ANSI C, signed with -traditional/d
+/At top level:/d
+/In file included from/d
+/In function `.*':/d
+/^[ ]*from/d
+