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

Side by Side Diff: build/common.gypi

Issue 1234253003: Disable VS 2015 warning that fires on compiler-generated constructors. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added to .gn configuration and sorted. Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | build/config/compiler/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 # IMPORTANT: 5 # IMPORTANT:
6 # Please don't directly include this file if you are building via gyp_chromium, 6 # Please don't directly include this file if you are building via gyp_chromium,
7 # since gyp_chromium is automatically forcing its inclusion. 7 # since gyp_chromium is automatically forcing its inclusion.
8 { 8 {
9 # Variables expected to be overriden on the GYP command line (-D) or by 9 # Variables expected to be overriden on the GYP command line (-D) or by
10 # ~/.gyp/include.gypi. 10 # ~/.gyp/include.gypi.
(...skipping 5593 matching lines...) Expand 10 before | Expand all | Expand 10 after
5604 4355, 5604 4355,
5605 5605
5606 # C4503: 'identifier': decorated name length exceeded, name was 5606 # C4503: 'identifier': decorated name length exceeded, name was
5607 # truncated 5607 # truncated
5608 # This only means that some long error messages might have truncated 5608 # This only means that some long error messages might have truncated
5609 # identifiers in the presence of lots of templates. It has no effect 5609 # identifiers in the presence of lots of templates. It has no effect
5610 # on program correctness and there's no real reason to waste time 5610 # on program correctness and there's no real reason to waste time
5611 # trying to prevent it. 5611 # trying to prevent it.
5612 4503, 5612 4503,
5613 5613
5614 # Warning C4589 says: "Constructor of abstract class ignores
5615 # initializer for virtual base class." Disable this warning because it
5616 # is flaky in VS 2015 RTM. It triggers on compiler generated
5617 # copy-constructors in some cases.
5618 4589,
5619
5614 # C4611: interaction between 'function' and C++ object destruction is 5620 # C4611: interaction between 'function' and C++ object destruction is
5615 # non-portable 5621 # non-portable
5616 # This warning is unavoidable when using e.g. setjmp/longjmp. MSDN 5622 # This warning is unavoidable when using e.g. setjmp/longjmp. MSDN
5617 # suggests using exceptions instead of setjmp/longjmp for C++, but 5623 # suggests using exceptions instead of setjmp/longjmp for C++, but
5618 # Chromium code compiles without exception support. We therefore have 5624 # Chromium code compiles without exception support. We therefore have
5619 # to use setjmp/longjmp for e.g. JPEG decode error handling, which 5625 # to use setjmp/longjmp for e.g. JPEG decode error handling, which
5620 # means we have to turn off this warning (and be careful about how 5626 # means we have to turn off this warning (and be careful about how
5621 # object destruction happens in such cases). 5627 # object destruction happens in such cases).
5622 4611, 5628 4611,
5623 5629
(...skipping 580 matching lines...) Expand 10 before | Expand all | Expand 10 after
6204 # settings in target dicts. SYMROOT is a special case, because many other 6210 # settings in target dicts. SYMROOT is a special case, because many other
6205 # Xcode variables depend on it, including variables such as 6211 # Xcode variables depend on it, including variables such as
6206 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 6212 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
6207 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 6213 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
6208 # files to appear (when present) in the UI as actual files and not red 6214 # files to appear (when present) in the UI as actual files and not red
6209 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 6215 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
6210 # and therefore SYMROOT, needs to be set at the project level. 6216 # and therefore SYMROOT, needs to be set at the project level.
6211 'SYMROOT': '<(DEPTH)/xcodebuild', 6217 'SYMROOT': '<(DEPTH)/xcodebuild',
6212 }, 6218 },
6213 } 6219 }
OLDNEW
« no previous file with comments | « no previous file | build/config/compiler/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698