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

Issue 818363006: fix a few linux compilation warnings (Closed)

Created:
5 years, 11 months ago by Tom Sepez
Modified:
5 years, 2 months ago
Reviewers:
Bo Xu, jun_fang, brucedawson
CC:
pdfium-reviews_googlegroups.com
Base URL:
https://pdfium.googlesource.com/pdfium.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

fix a few linux compilation warnings BUG=https://code.google.com/p/pdfium/issues/detail?id=102

Patch Set 1 #

Total comments: 5

Patch Set 2 : Restore origina cmslut.c #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+63 lines, -121 lines) Patch
M core/src/fpdfapi/fpdf_basic_module.cpp View 1 chunk +0 lines, -17 lines 0 comments Download
M core/src/fpdfapi/fpdf_edit/fpdf_edit_image.cpp View 3 chunks +5 lines, -3 lines 0 comments Download
M core/src/fpdfapi/fpdf_page/fpdf_page_colors.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M core/src/fpdfapi/fpdf_parser/fpdf_parser_decode.cpp View 1 chunk +1 line, -0 lines 0 comments Download
M core/src/fpdfapi/fpdf_parser/fpdf_parser_objects.cpp View 1 chunk +1 line, -0 lines 0 comments Download
M core/src/fpdfapi/fpdf_parser/fpdf_parser_parser.cpp View 2 chunks +2 lines, -0 lines 0 comments Download
M core/src/fpdfapi/fpdf_render/fpdf_render_loadimage.cpp View 1 chunk +0 lines, -1 line 0 comments Download
M core/src/fpdfapi/fpdf_render/fpdf_render_pattern.cpp View 2 chunks +0 lines, -3 lines 0 comments Download
M core/src/fpdfdoc/doc_basic.cpp View 3 chunks +15 lines, -13 lines 0 comments Download
M core/src/fpdftext/fpdf_text.cpp View 1 chunk +1 line, -1 line 0 comments Download
M core/src/fpdftext/fpdf_text_int.cpp View 2 chunks +1 line, -2 lines 0 comments Download
M core/src/fxcodec/codec/fx_codec_jpx_opj.cpp View 5 chunks +3 lines, -7 lines 0 comments Download
M core/src/fxcodec/libjpeg/fpdfapi_jcmainct.c View 5 chunks +28 lines, -28 lines 0 comments Download
M core/src/fxge/dib/fx_dib_composite.cpp View 1 chunk +1 line, -0 lines 1 comment Download
M core/src/fxge/dib/fx_dib_convert.cpp View 1 chunk +0 lines, -4 lines 0 comments Download
M core/src/fxge/dib/fx_dib_transform.cpp View 2 chunks +0 lines, -2 lines 0 comments Download
M core/src/fxge/ge/fx_ge_fontmap.cpp View 2 chunks +1 line, -13 lines 1 comment Download
M core/src/fxge/ge/fx_ge_linux.cpp View 1 chunk +1 line, -0 lines 1 comment Download
M fpdfsdk/src/fxedit/fxet_pageobjs.cpp View 1 chunk +0 lines, -22 lines 0 comments Download
M fpdfsdk/src/javascript/JS_Object.cpp View 1 chunk +0 lines, -2 lines 0 comments Download
M pdfium.gyp View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 10 (2 generated)
Tom Sepez
Jun, please have foxit developers look over this list of changes. In particular, the items ...
5 years, 11 months ago (2015-01-15 19:32:05 UTC) #2
jun_fang
On 2015/01/15 19:32:05, Tom Sepez wrote: > Jun, please have foxit developers look over this ...
5 years, 11 months ago (2015-01-15 19:36:22 UTC) #3
brucedawson
Consider also disabling the warning about missing initializer, to further reduce the noise. https://codereview.chromium.org/818363006/diff/1/core/src/fxcodec/lcms2/lcms2-2.6/src/cmslut.c File ...
5 years, 11 months ago (2015-01-15 22:18:10 UTC) #5
Tom Sepez
https://codereview.chromium.org/818363006/diff/1/core/src/fxcodec/lcms2/lcms2-2.6/src/cmslut.c File core/src/fxcodec/lcms2/lcms2-2.6/src/cmslut.c (right): https://codereview.chromium.org/818363006/diff/1/core/src/fxcodec/lcms2/lcms2-2.6/src/cmslut.c#newcode1282 core/src/fxcodec/lcms2/lcms2-2.6/src/cmslut.c:1282: cmsFloat32Number Storage[2][MAX_STAGE_CHANNELS] = { {0.0f}, {0.0f} }; On 2015/01/15 ...
5 years, 11 months ago (2015-01-16 19:23:04 UTC) #6
brucedawson
Okay, sounds reasonable. lgtm, once the questions raised by the comments you added are resolved/investigated ...
5 years, 11 months ago (2015-01-16 20:26:47 UTC) #7
jun_fang
I am still reviewing the code change. May provide more comments later. https://codereview.chromium.org/818363006/diff/1/core/src/fpdfapi/fpdf_parser/fpdf_parser_decode.cpp File core/src/fpdfapi/fpdf_parser/fpdf_parser_decode.cpp ...
5 years, 11 months ago (2015-01-16 22:07:59 UTC) #8
jun_fang
More comments. https://codereview.chromium.org/818363006/diff/20001/core/src/fxge/dib/fx_dib_composite.cpp File core/src/fxge/dib/fx_dib_composite.cpp (right): https://codereview.chromium.org/818363006/diff/20001/core/src/fxge/dib/fx_dib_composite.cpp#newcode4153 core/src/fxge/dib/fx_dib_composite.cpp:4153: FX_BOOL bCmyk = FALSE; One of bRgb ...
5 years, 11 months ago (2015-01-17 00:39:18 UTC) #9
Tom Sepez
5 years, 2 months ago (2015-10-08 20:26:23 UTC) #10
Closing without landing; this is stale and overtaken by other cls.

Powered by Google App Engine
This is Rietveld 408576698