summaryrefslogtreecommitdiff
path: root/util/gcc-wall-cleanup
blob: 6148e4619132c67c731b4c4ed45f21d72e2064ae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/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
/forbids long long integer constants/d
/does not support the `ll' length modifier/d
/does not support the `ll' printf 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
/zero-length format string/d
/warning: missing initializer/d
/warning: (near initialization for/d
/^[ 	]*from/d