ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/src/gcc-Wall
Revision: 1.2
Committed: Sun Dec 12 06:39:20 2004 UTC (19 years, 5 months ago) by root
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +0 -0 lines
State: FILE REMOVED
Log Message:
*** empty log message ***

File Contents

# Content
1 #!/bin/sh
2 # gcc -Wall plus other important warnings not included in -Wall
3
4 for arg
5 do
6 case $arg in
7 -O*) Wuninitialized=-Wuninitialized;; # only makes sense with `-O'
8 esac
9 done
10
11 exec gcc \
12 -Wall $Wuninitialized \
13 -Wwrite-strings \
14 -Wcast-qual \
15 -Wbad-function-cast \
16 -Wpointer-arith \
17 -Wstrict-prototypes \
18 -Wmissing-prototypes \
19 -Wmissing-declarations \
20 -Wnested-externs \
21 -Wtraditional \
22 -Wconversion \
23 -Wcomment \
24 -Wcast-align \
25 -Winline \
26 -Wshadow \
27 -Wredundant-decls \
28 -Wid-clash-31 \
29 "$@"
30
31 # -Wall implies:
32 # -Wimplicit
33 # -Wreturn-type
34 # -Wunused
35 # -Wswitch
36 # -Wformat
37 # -Wchar-subscripts
38 # -Wparentheses
39 # -Wmissing-braces
40 ------------------------------------------------------------------------------