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

Side by Side Diff: tools/gyp/configurations_msvs.gypi

Issue 23447007: Disble 4351 warnings on msvs compiler (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 3 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | 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) 2011, the Dart project authors. Please see the AUTHORS file 1 # Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
2 # for details. All rights reserved. Use of this source code is governed by a 2 # for details. All rights reserved. Use of this source code is governed by a
3 # BSD-style license that can be found in the LICENSE file. 3 # BSD-style license that can be found in the LICENSE file.
4 4
5 { 5 {
6 'variables': { 6 'variables': {
7 'dart_debug_optimization_level%': '2', 7 'dart_debug_optimization_level%': '2',
8 }, 8 },
9 'target_defaults': { 9 'target_defaults': {
10 'configurations': { 10 'configurations': {
(...skipping 11 matching lines...) Expand all
22 'VCLinkerTool': { 22 'VCLinkerTool': {
23 'LinkIncremental': '2', 23 'LinkIncremental': '2',
24 'GenerateDebugInformation': 'true', 24 'GenerateDebugInformation': 'true',
25 'StackReserveSize': '2097152', 25 'StackReserveSize': '2097152',
26 'AdditionalDependencies': [ 26 'AdditionalDependencies': [
27 'advapi32.lib', 27 'advapi32.lib',
28 'shell32.lib', 28 'shell32.lib',
29 ], 29 ],
30 }, 30 },
31 }, 31 },
32 # C4351 warns MSVC follows the C++ specification regarding array
33 # initialization in member initializers. Code that expects the
34 # specified behavior should silence this warning.
35 'msvs_disabled_warnings': [4351],
32 }, 36 },
33 37
34 'Dart_Release': { 38 'Dart_Release': {
35 'msvs_settings': { 39 'msvs_settings': {
36 'VCCLCompilerTool': { 40 'VCCLCompilerTool': {
37 'Optimization': '2', 41 'Optimization': '2',
38 'InlineFunctionExpansion': '2', 42 'InlineFunctionExpansion': '2',
39 'EnableIntrinsicFunctions': 'true', 43 'EnableIntrinsicFunctions': 'true',
40 'FavorSizeOrSpeed': '0', 44 'FavorSizeOrSpeed': '0',
41 'ExceptionHandling': '0', 45 'ExceptionHandling': '0',
42 'RuntimeTypeInfo': 'false', 46 'RuntimeTypeInfo': 'false',
43 'OmitFramePointers': 'false', 47 'OmitFramePointers': 'false',
44 'StringPooling': 'true', 48 'StringPooling': 'true',
45 'RuntimeLibrary': '0', # /MT - Multi-threaded, static 49 'RuntimeLibrary': '0', # /MT - Multi-threaded, static
46 }, 50 },
47 'VCLinkerTool': { 51 'VCLinkerTool': {
48 'LinkIncremental': '1', 52 'LinkIncremental': '1',
49 'GenerateDebugInformation': 'true', 53 'GenerateDebugInformation': 'true',
50 'OptimizeReferences': '2', 54 'OptimizeReferences': '2',
51 'EnableCOMDATFolding': '2', 55 'EnableCOMDATFolding': '2',
52 'StackReserveSize': '2097152', 56 'StackReserveSize': '2097152',
53 'AdditionalDependencies': [ 57 'AdditionalDependencies': [
54 'advapi32.lib', 58 'advapi32.lib',
55 'shell32.lib', 59 'shell32.lib',
56 ], 60 ],
57 }, 61 },
58 }, 62 },
63 # C4351 warns MSVC follows the C++ specification regarding array
64 # initialization in member initializers. Code that expects the
65 # specified behavior should silence this warning.
66 'msvs_disabled_warnings': [4351],
59 }, 67 },
60 }, 68 },
61 'defines': [ 69 'defines': [
62 '_HAS_EXCEPTIONS=0', # disable C++ exceptions use in C++ std. libs. 70 '_HAS_EXCEPTIONS=0', # disable C++ exceptions use in C++ std. libs.
63 ], 71 ],
64 }, 72 },
65 } 73 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698