Commit graph

51 commits

Author SHA1 Message Date
David du Colombier
6c7443a653 fix clang 3.4 warnings and ignore uninteresting ones
fixed warnings:
src/cmd/fossil/disk.c:37:14: warning: use of GNU 'missing =' extension in designator [-Wgnu-designator]
src/cmd/fossil/disk.c:38:14: warning: use of GNU 'missing =' extension in designator [-Wgnu-designator]
src/cmd/fossil/disk.c:39:14: warning: use of GNU 'missing =' extension in designator [-Wgnu-designator]
src/cmd/fossil/disk.c:40:13: warning: use of GNU 'missing =' extension in designator [-Wgnu-designator]
src/cmd/fossil/disk.c:41:14: warning: use of GNU 'missing =' extension in designator [-Wgnu-designator]
src/libndb/ndbreorder.c:41:55: warning: for loop has empty body [-Wempty-body]

ignored warnings:
src/cmd/acid/dbg.y:393:9: warning: array index -1 is before the beginning of the array [-Warray-bounds]
src/cmd/bc.y:1327:9: warning: array index -1 is before the beginning of the array [-Warray-bounds]
src/cmd/bc.y:1327:9: warning: array index -1 is before the beginning of the array [-Warray-bounds]
src/cmd/grep/grep.y:420:9: warning: array index -1 is before the beginning of the array [-Warray-bounds]
src/cmd/grep/grep.y:420:9: warning: array index -1 is before the beginning of the array [-Warray-bounds]
src/cmd/hoc/hoc.y:692:9: warning: array index -1 is before the beginning of the array [-Warray-bounds]
src/cmd/hoc/hoc.y:692:9: warning: array index -1 is before the beginning of the array [-Warray-bounds]
src/cmd/lex/parser.y:886:9: warning: array index -1 is before the beginning of the array [-Warray-bounds]
src/cmd/rc/syn.y:303:9: warning: array index -1 is before the beginning of the array [-Warray-bounds]
src/cmd/units.y:1003:9: warning: array index -1 is before the beginning of the array [-Warray-bounds]
src/libregexp/regcomp.c:19:16: warning: variable 'reprog' is not needed and will not be emitted [-Wunneeded-internal-declaration]

LGTM=rsc
R=rsc
https://codereview.appspot.com/158250043
2014-10-21 14:22:12 +02:00
Shenghou Ma
20035ed43c all: DragonFly port.
Fix compilation problems, libdraw still doesn't work right yet.

LGTM=rsc
R=rsc
https://codereview.appspot.com/67820046
2014-02-27 23:17:47 -05:00
Russ Cox
b0ae8a46a0 9c: support clang on Mac
R=rsc
http://codereview.appspot.com/6744055
2012-10-21 12:01:13 -04:00
Russ Cox
34d629c857 9c: add more clang warning silencers, use signed chars
R=rsc
http://codereview.appspot.com/6741053
2012-10-20 13:51:01 -04:00
Russ Cox
fc567f476a build: OS X 64-bit build
R=rsc
http://codereview.appspot.com/4838047
2011-08-02 14:28:04 -04:00
Russ Cox
af0dea4531 SunOS fixes (thanks Aram Hăvărneanu)
R=rsc, rsc
http://codereview.appspot.com/4271084
2011-05-17 18:48:42 -04:00
Nikolai Saoukh
0c6074b692 9c, 9l: allow CC9=clang
R=rsc
CC=codebot
http://codereview.appspot.com/217045
2010-02-22 16:53:37 -08:00
Russ Cox
fa662c9571 INSTALL: fix build on Snow Leopard
http://codereview.appspot.com/116073
2009-09-11 13:51:50 -04:00
Russ Cox
e6c837d612 merge 2009-07-14 22:55:52 -07:00
Russ Cox
eb1392208c 9c: another gcc, another useless warning 2008-12-06 15:34:59 -08:00
Russ Cox
7733377c43 9c: grep away Apple SetCursor/InitCursor warnings 2008-07-09 14:36:32 -04:00
Russ Cox
5f6612babb merge 2008-05-31 12:09:43 -04:00
rsc
f7954492d5 define __Linux24__ for mount-Linux.c in vbackup 2006-05-05 15:29:07 +00:00
rsc
065cba5bac no more pedantry 2006-04-04 19:11:50 +00:00
rsc
cbeb0b26e4 Use gcc -ansi -pedantic in 9c. Fix many non-C89-isms. 2006-04-01 19:24:03 +00:00
rsc
e2c0697736 undo 2006-03-20 04:04:21 +00:00
rsc
17157e4aa8 update lucida 2006-03-20 02:25:59 +00:00
rsc
746d2e1ab0 adapt to gcc error messages 2006-02-14 19:38:15 +00:00
rsc
6637b803f6 Make install less chatty, more useful. 2005-11-28 21:14:44 +00:00
rsc
77fd60a177 shut up openbsd 2005-11-27 23:58:32 +00:00
rsc
3b8f0b79d7 errors to stderr 2005-07-22 18:56:31 +00:00
rsc
593ac8b3a6 do not process stdout, to play nice with ccache 2005-07-22 12:37:20 +00:00
rsc
eacba19d74 add uniq 2005-03-18 19:32:06 +00:00
rsc
4b089276b8 even more quieting of gcc 2005-03-18 18:50:08 +00:00
rsc
2548dc0d11 even quieter gcc 2005-02-16 17:14:01 +00:00
rsc
b49d0f4b37 initial stab at ipso 2005-02-13 18:05:40 +00:00
rsc
7637c81af0 silence gcc chatter 2005-02-12 16:48:46 +00:00
rsc
4fc1f5f949 bad $variable names 2005-01-19 16:45:27 +00:00
rsc
eea5f6adfe source $PLAN9/config 2005-01-17 20:57:57 +00:00
rsc
9e863cf561 add -mt for sun 2005-01-07 07:16:53 +00:00
rsc
d756dc5e15 better status handling for sun 2005-01-07 07:15:31 +00:00
rsc
ead3e31153 9c: ignore autolib symbols
9l: use autolib symbols
2005-01-04 21:13:58 +00:00
wkj
89a4515039 GC now-unused FreeBSD-specific #defines. 2004-12-29 01:32:12 +00:00
rsc
7033e49de1 set flag for freebsd 5 2004-12-28 23:14:43 +00:00
rsc
fa267621f8 match Linux 2.6 kernel better 2004-12-24 07:12:30 +00:00
rsc
282c88f9de Bite the bullet. Have to use different
binaries on 2.4 and 2.6.
2004-09-17 22:09:31 +00:00
rsc
57d4c1f30e #define PLAN9PORT.
forgive me.
2004-05-20 17:41:17 +00:00
wkj
115d4c0afc Ignore unknown pragmas.
Be less verbose when allocating uprocs.
Don't drop core dump turds all over the place when x11 goes away.
2004-05-03 17:26:17 +00:00
rsc
be36ff6885 add -W to specify window size.
various other little fixes.
2004-04-29 17:13:24 +00:00
rsc
e544651cc7 redirect properly on sun 2004-04-25 21:28:51 +00:00
rsc
78802e6993 various bug fixes 2004-04-24 04:52:49 +00:00
rsc
1b431b180d Fix version for sunos. 2004-03-26 05:05:33 +00:00
rsc
0f192bb8f2 Include Solaris version. 2004-03-26 05:01:11 +00:00
rsc
dc9d0ffc75 Use cflags (bug introduced by Mac tweak). 2004-03-02 19:29:39 +00:00
rsc
8f314994db More Mac tweaks. 2004-03-02 17:34:15 +00:00
rsc
53dbac9485 Tweaks for the Macintosh. 2004-03-02 16:58:49 +00:00
rsc
d51419bf43 various tweaks. 2004-02-09 19:33:05 +00:00
rsc
3765283ccf Silence some Mac OS X warnings. 2003-11-25 02:36:46 +00:00
rsc
64bcfff3a1 More tweaks on Linux and Solaris. 2003-11-25 02:11:11 +00:00
rsc
1c253ceb58 Annoying changes to work on Sun boxes. 2003-11-23 19:49:17 +00:00