Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(304)

Issue 7288056: code review 7288056: cmd/dist: add -Wstrict-prototypes to CFLAGS and fix all... (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 1 month ago by minux1
Modified:
12 years, 1 month ago
Reviewers:
CC:
golang-dev, akumar, dave_cheney.net, rsc, lucio, akumar_mail.nanosouffle.net
Visibility:
Public.

Description

cmd/dist: add -Wstrict-prototypes to CFLAGS and fix all the compiler errors Plan 9 compilers insist this but as we don't have Plan 9 builders, we'd better let gcc check the prototypes. Inspired by CL 7289050.

Patch Set 1 #

Patch Set 2 : diff -r 63883b563ea8 https://code.google.com/p/go #

Total comments: 1

Patch Set 3 : diff -r b306ec1cf570 https://code.google.com/p/go/ #

Patch Set 4 : diff -r b306ec1cf570 https://code.google.com/p/go/ #

Total comments: 1

Patch Set 5 : diff -r 36d247dd8ee5 https://code.google.com/p/go/ #

Patch Set 6 : diff -r 36d247dd8ee5 https://code.google.com/p/go/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+13 lines, -10 lines) Patch
M src/cmd/5g/gg.h View 1 1 chunk +1 line, -1 line 0 comments Download
M src/cmd/6g/gg.h View 1 1 chunk +1 line, -1 line 0 comments Download
M src/cmd/8g/gg.h View 1 1 chunk +1 line, -1 line 0 comments Download
M src/cmd/dist/build.c View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M src/cmd/ld/lib.h View 1 1 chunk +1 line, -1 line 0 comments Download
M src/cmd/ld/macho.h View 1 1 chunk +1 line, -1 line 0 comments Download
M src/cmd/prof/main.c View 1 3 chunks +4 lines, -4 lines 0 comments Download
M src/libmach/darwin.c View 1 2 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 6
akumar
LGTM. https://codereview.appspot.com/7288056/diff/2001/src/cmd/dist/build.c File src/cmd/dist/build.c (right): https://codereview.appspot.com/7288056/diff/2001/src/cmd/dist/build.c#newcode411 src/cmd/dist/build.c:411: "-Wstrict-prototypes", Maybe move this line up, to just ...
12 years, 1 month ago (2013-02-04 21:29:06 UTC) #1
minux1
Hello golang-dev@googlegroups.com, seed@mail.nanosouffle.net (cc: akumar@mail.nanosouffle.net, golang-dev@googlegroups.com, lucio.dere@gmail.com), I'd like you to review this change to ...
12 years, 1 month ago (2013-02-04 21:53:55 UTC) #2
dave_cheney.net
LGTM. Tested on a few hosts that I have and nothing complained.
12 years, 1 month ago (2013-02-05 01:20:05 UTC) #3
rsc
LGTM
12 years, 1 month ago (2013-02-05 02:56:56 UTC) #4
lucio
Thanks, Minux, I'll withdraw my CL. Lucio. https://codereview.appspot.com/7288056/diff/10002/src/libmach/darwin.c File src/libmach/darwin.c (right): https://codereview.appspot.com/7288056/diff/10002/src/libmach/darwin.c#newcode754 src/libmach/darwin.c:754: extern boolean_t ...
12 years, 1 month ago (2013-02-05 04:21:14 UTC) #5
minux1
12 years, 1 month ago (2013-02-05 13:43:21 UTC) #6
*** Submitted as https://code.google.com/p/go/source/detail?r=93266555c621 ***

cmd/dist: add -Wstrict-prototypes to CFLAGS and fix all the compiler errors
Plan 9 compilers insist this but as we don't have Plan 9
builders, we'd better let gcc check the prototypes.

Inspired by CL 7289050.

R=golang-dev, seed, dave, rsc, lucio.dere
CC=akumar, golang-dev
https://codereview.appspot.com/7288056
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b