Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(273)

Issue 5338008: flimflam: Enable -Wimplicit-function-declaration. (Closed)

Created:
10 years ago by Elly Fong-Jones
Modified:
9 years, 4 months ago
Reviewers:
Jason Glasgow
CC:
chromium-os-reviews_chromium.org, sleffler+cc_chromium.org, Nathan Williams, Eric Shienbrood, Jason Glasgow, rochberg, Paul Stewart
Visibility:
Public.

Description

flimflam: Enable -Wimplicit-function-declaration. This prevents maddening failures at runtime where we fail to load a plugin because of an undefined symbol; having a warning for implicit function declarations will at least cause a build break if the function doesn't appear in a header file. As fallout from this, there are a whole bunch of places where we /were/ using implicit function declarations; those are all fixed by this CL. BUG=chromium-os:9556 (yes, really) TEST=None Build system change only; if flimflam still builds, we're good. Change-Id: I00c208ea5ab2dbc6c90d4761fe61fdb9dce01005 X-Where: locus chromeos-dogfood impl-fun-dec Signed-off-by: Elly Jones <ellyjones@chromium.org>; Signed-off-by: Jason Glasgow <jglasgow@chromium.org>; Committed: http://chrome-svn/viewvc/chromeos?view=rev&revision=b42d6ee

Patch Set 1 #

Total comments: 10

Patch Set 2 : Fixes per jglasgow. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+25 lines, -6 lines) Patch
M Makefile.am View 1 chunk +2 lines, -1 line 0 comments Download
M Makefile.plugins View 1 chunk +3 lines, -2 lines 0 comments Download
M include/dbus.h View 1 chunk +3 lines, -0 lines 0 comments Download
M plugins/crosmetrics.c View 1 chunk +2 lines, -0 lines 0 comments Download
M plugins/crypto_descbc.c View 1 chunk +2 lines, -1 line 0 comments Download
M plugins/crypto_rot47.c View 1 chunk +2 lines, -1 line 0 comments Download
M plugins/modemmgr.c View 1 chunk +1 line, -1 line 0 comments Download
M plugins/pppd.c View 1 chunk +1 line, -0 lines 0 comments Download
M src/connman.h View 1 3 chunks +8 lines, -0 lines 0 comments Download
M src/device.c View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
Elly Fong-Jones
Previous issue got eaten by 'git cl patch'. Argh.
10 years ago (2010-11-29 19:07:52 UTC) #1
Jason Glasgow
http://codereview.chromium.org/5338008/diff/1/Makefile.am File Makefile.am (right): http://codereview.chromium.org/5338008/diff/1/Makefile.am#newcode93 Makefile.am:93: AM_CFLAGS = -Wimplicit-function-declaration -Werror \ Why non -Wall ? ...
10 years ago (2010-11-29 20:11:30 UTC) #2
Elly Fong-Jones
http://codereview.chromium.org/5338008/diff/1/Makefile.am File Makefile.am (right): http://codereview.chromium.org/5338008/diff/1/Makefile.am#newcode93 Makefile.am:93: AM_CFLAGS = -Wimplicit-function-declaration -Werror \ On 2010/11/29 20:11:30, Jason ...
10 years ago (2010-11-29 20:40:28 UTC) #3
Jason Glasgow
10 years ago (2010-11-29 20:46:32 UTC) #4
LGTM

Powered by Google App Engine
This is Rietveld 408576698