OSDN Git Service

Code drop from //branches/cupcake/...@124589
[android-x86/external-e2fsprogs.git] / util / gcc-wall-cleanup
1 #!/bin/sed -f
2 #
3 # This script filters out gcc-wall crud that we're not interested in seeing.
4 #
5 /^cc /d
6 /^kcc /d
7 /^gcc /d
8 /does not support `long long'/d
9 /forbids long long integer constants/d
10 /does not support the `ll' length modifier/d
11 /does not support the `ll' printf length modifier/d
12 /ANSI C forbids long long integer constants/d
13 /traditional C rejects string concatenation/d
14 /integer constant is unsigned in ANSI C, signed with -traditional/d
15 /At top level:/d
16 /In file included from/d
17 /In function `.*':/d
18 /zero-length format string/d
19 /warning: missing initializer/d
20 /warning: (near initialization for/d
21 /^[     ]*from/d
22