1 gcc -Wall -Wno-comment -Wformat -Wimplicit -Wmissing-prototypes -Wparentheses -Wstrict-prototypes -Wswitch -Wuninitialized -Wunused -DUSE_TLS -DHAS_PCRE -I/usr/local/include -DSNAPSHOT -g -O -I. -DFREEBSD5 -c gccw.c
4 gccw.c: In function 'test1':
5 gccw.c: In function 'test2':
6 gccw.c:20: warning: no previous prototype for 'test1'
7 gccw.c:20: warning: return type defaults to 'int'
8 gccw.c:22: warning: unused variable 'foo'
9 gccw.c:25: warning: suggest parentheses around && within ||
10 gccw.c:27: warning: statement with no effect
11 gccw.c:30: warning: control reaches end of non-void function
12 gccw.c:35: warning: no previous prototype for 'test2'
13 gccw.c:38: warning: 'bar' might be used uninitialized in this function
14 gccw.c:42: warning: format argument is not a pointer (arg 2)
15 gccw.c:44: warning: too few arguments for format
16 gccw.c:46: warning: too many arguments for format
17 gccw.c:52: warning: enumeration value 'b' not handled in switch
18 gccw.c:57: warning: function declaration isn't a prototype