DescriptionResolve all but two VC++ build warnings in pdfium.
pdfium builds on Win32 have about 85 warnings (250 in the XFA
branch, totaling over 480 lines!), mostly from four lines in
a header file and a warning that should be disabled. This
change resolves all but two of them and turns on
warning-as-errors. Bugs have been filed for the two
remaining warnings:
https://code.google.com/p/pdfium/issues/detail?id=100
the 64-bit warnings:
https://code.google.com/p/pdfium/issues/detail?id=101
and the Linux warnings:
https://code.google.com/p/pdfium/issues/detail?id=102
The fix to the double->float truncation bugs will also
improve code-generation.
R=bo_xu@foxitsoftware.com, scottmg@chromium.org, tsepez@chromium.org
Committed: https://pdfium.googlesource.com/pdfium/+/d12a4f465a0bcc8b233079ccd54bf7882f3532d5
Patch Set 1 #Patch Set 2 : Only do warnings-as-errors on 32-bit builds. #
Total comments: 4
Patch Set 3 : Disabling WarnAsError for fxcodec library. #
Total comments: 1
Patch Set 4 : Fixing formatting. #
Total comments: 5
Patch Set 5 : Link to warning bugs, and globally suppress 4996 #
Total comments: 1
Messages
Total messages: 20 (4 generated)
|