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

Issue 1075673002: Fix reference to timezone variable - removed in VS 2015 (Closed)

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

Description

Fix reference to timezone variable - removed in VS 2015 It turns out that 'timezone' has been deprecated for a while. If deprecation messages are enabled then VS 2013 says this when 'timezone' is referenced: warning C4996: 'timezone': This function or variable may be unsafe. Consider using _get_timezone instead. Sometimes features stay deprecated for decades, but in this case 'timezone' is now gone. R=tsepez@chromium.org BUG=440500 Committed: https://pdfium.googlesource.com/pdfium/+/cbcc7305fd8d0d0fbed316ed092642de10c3b207

Patch Set 1 #

Total comments: 1

Patch Set 2 : Adding explanatory comment. #

Patch Set 3 : Merging latest submitted changes. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -0 lines) Patch
M fpdfsdk/src/jsapi/fxjs_v8.cpp View 1 1 chunk +7 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (4 generated)
brucedawson
5 years, 8 months ago (2015-04-08 22:33:13 UTC) #2
Tom Sepez
https://codereview.chromium.org/1075673002/diff/1/fpdfsdk/src/jsapi/fxjs_v8.cpp File fpdfsdk/src/jsapi/fxjs_v8.cpp (right): https://codereview.chromium.org/1075673002/diff/1/fpdfsdk/src/jsapi/fxjs_v8.cpp#newcode765 fpdfsdk/src/jsapi/fxjs_v8.cpp:765: return (double)(-(timezone * 1000)); Is _get_timezone() defined on all ...
5 years, 8 months ago (2015-04-08 22:51:19 UTC) #3
brucedawson
Good questions. I know that _get_timezone() is defined in VS 2013, and MSDN suggests that ...
5 years, 8 months ago (2015-04-08 23:00:37 UTC) #4
Tom Sepez
On 2015/04/08 23:00:37, brucedawson wrote: > Good questions. I know that _get_timezone() is defined in ...
5 years, 8 months ago (2015-04-09 00:10:42 UTC) #5
brucedawson
Comment added.
5 years, 8 months ago (2015-04-09 00:33:34 UTC) #6
commit-bot: I haz the power
Commit queue rejected this change because it did not recognize the base URL. Please commit ...
5 years, 8 months ago (2015-04-09 00:57:37 UTC) #10
brucedawson
5 years, 8 months ago (2015-04-09 16:36:40 UTC) #11
Message was sent while issue was closed.
Committed patchset #3 (id:40001) manually as
cbcc7305fd8d0d0fbed316ed092642de10c3b207 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698