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

Issue 1517103003: Disable VS 2015 warning about global constructor (Closed)

Created:
5 years ago by brucedawson
Modified:
5 years ago
Reviewers:
vabr (Chromium)
CC:
chromium-reviews, rouslan+autofill_chromium.org, browser-components-watch_chromium.org, jdonnelly+autofillwatch_chromium.org, bondd+autofillwatch_chromium.org, vabr+watchlistautofill_chromium.org, estade+watch_chromium.org, sebsg
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Disable VS 2015 warning about global constructor Having std::vector as a global variable means that constructors and destructors will run at startup and shutdown, which can be problematic. This also triggered a (buggy) VS 2015 warning, which this change disables for this source file. The VS 2015 warning bug is discussed by a VC++ compiler dev in one of the answers to this question: http://stackoverflow.com/questions/34013930/error-c4592-symbol-will-be-dynamically-initialized-vs2015-1-static-const-std TBR=vabr@chromium.org BUG=440500 Committed: https://crrev.com/f7199714336c7fa05b465b9b5ba051999566b657 Cr-Commit-Position: refs/heads/master@{#364927}

Patch Set 1 #

Patch Set 2 : Added necessary #ifdefs #

Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -0 lines) Patch
M components/autofill/core/browser/autofill_field_unittest.cc View 1 1 chunk +6 lines, -0 lines 0 comments Download

Messages

Total messages: 20 (11 generated)
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1517103003/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1517103003/1
5 years ago (2015-12-12 00:12:43 UTC) #4
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_compile_dbg_ng on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_compile_dbg_ng/builds/135707) mac_chromium_gn_rel on tryserver.chromium.mac (JOB_FAILED, ...
5 years ago (2015-12-12 00:23:43 UTC) #6
brucedawson
Trying again with necessary #ifdefs. Trying to land tonight in an effort to get the ...
5 years ago (2015-12-12 00:26:15 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1517103003/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1517103003/20001
5 years ago (2015-12-12 00:27:31 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: cast_shell_linux on tryserver.chromium.linux (JOB_TIMED_OUT, no build URL) chromeos_daisy_chromium_compile_only_ng on ...
5 years ago (2015-12-12 02:38:13 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1517103003/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1517103003/20001
5 years ago (2015-12-12 08:55:32 UTC) #14
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years ago (2015-12-12 09:02:53 UTC) #16
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/f7199714336c7fa05b465b9b5ba051999566b657 Cr-Commit-Position: refs/heads/master@{#364927}
5 years ago (2015-12-12 09:04:00 UTC) #18
vabr (Chromium)
5 years ago (2015-12-15 08:26:33 UTC) #20
Message was sent while issue was closed.
lgtm

Powered by Google App Engine
This is Rietveld 408576698