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

Issue 1981593002: Fix GCC warnings to be ready for GCC standalone build (Closed)

Created:
4 years, 7 months ago by Wei Li
Modified:
4 years, 7 months ago
Reviewers:
Lei Zhang
CC:
pdfium-reviews_googlegroups.com
Base URL:
https://pdfium.googlesource.com/pdfium.git@master
Target Ref:
refs/heads/master
Project:
pdfium
Visibility:
Public.

Description

Fix GCC warnings to be ready for GCC standalone build ChromeOS still compile pdfium with GCC. Fix the code to be ready to have workable GCC standalone build. The build file change will be in a follow-up CL. One warning is about maybe using uninitialized variable, the other is about enum and non-enum in a conditional statement. Committed: https://pdfium.googlesource.com/pdfium/+/01e624fb699af3a8ee2f81620d59d366dac18f29

Patch Set 1 #

Total comments: 2

Patch Set 2 : update patch after formatting #

Unified diffs Side-by-side diffs Delta from patch set Stats (+23 lines, -4 lines) Patch
M fpdfsdk/fpdfxfa/fpdfxfa_doc.cpp View 1 chunk +1 line, -1 line 0 comments Download
A third_party/agg23/0001-gcc-warning.patch View 1 1 chunk +17 lines, -0 lines 0 comments Download
M third_party/agg23/README.pdfium View 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/agg23/agg_path_storage.h View 1 chunk +3 lines, -3 lines 0 comments Download

Messages

Total messages: 13 (7 generated)
Wei Li
for review, thanks
4 years, 7 months ago (2016-05-13 21:46:36 UTC) #5
Lei Zhang
https://codereview.chromium.org/1981593002/diff/1/third_party/agg23/0001-gcc-warning.patch File third_party/agg23/0001-gcc-warning.patch (right): https://codereview.chromium.org/1981593002/diff/1/third_party/agg23/0001-gcc-warning.patch#newcode9 third_party/agg23/0001-gcc-warning.patch:9: - path_cmd_stop; This doesn't match the actual change. Regenerate ...
4 years, 7 months ago (2016-05-13 21:52:17 UTC) #6
Wei Li
forgot to update after formatting, thanks for catching that. https://codereview.chromium.org/1981593002/diff/1/third_party/agg23/0001-gcc-warning.patch File third_party/agg23/0001-gcc-warning.patch (right): https://codereview.chromium.org/1981593002/diff/1/third_party/agg23/0001-gcc-warning.patch#newcode9 third_party/agg23/0001-gcc-warning.patch:9: ...
4 years, 7 months ago (2016-05-13 23:22:34 UTC) #8
Lei Zhang
lgtm
4 years, 7 months ago (2016-05-13 23:23:48 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1981593002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1981593002/40001
4 years, 7 months ago (2016-05-13 23:41:56 UTC) #11
commit-bot: I haz the power
4 years, 7 months ago (2016-05-13 23:59:54 UTC) #13
Message was sent while issue was closed.
Committed patchset #2 (id:40001) as
https://pdfium.googlesource.com/pdfium/+/01e624fb699af3a8ee2f81620d59d366dac1...

Powered by Google App Engine
This is Rietveld 408576698