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

Side by Side Diff: build/common.gypi

Issue 731373002: Enable MSVC warning for unused locals. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 1 month 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
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 5438 matching lines...) Expand 10 before | Expand all | Expand 10 after
5449 # Chromium code compiles without exception support. We therefore have 5449 # Chromium code compiles without exception support. We therefore have
5450 # to use setjmp/longjmp for e.g. JPEG decode error handling, which 5450 # to use setjmp/longjmp for e.g. JPEG decode error handling, which
5451 # means we have to turn off this warning (and be careful about how 5451 # means we have to turn off this warning (and be careful about how
5452 # object destruction happens in such cases). 5452 # object destruction happens in such cases).
5453 4611, 5453 4611,
5454 5454
5455 # TODO(maruel): These warnings are level 4. They will be slowly 5455 # TODO(maruel): These warnings are level 4. They will be slowly
5456 # removed as code is fixed. 5456 # removed as code is fixed.
5457 4100, # Unreferenced formal parameter 5457 4100, # Unreferenced formal parameter
5458 4121, # Alignment of a member was sensitive to packing 5458 4121, # Alignment of a member was sensitive to packing
5459 4189, # Local variable is initialized but not referenced
5460 4244, # Conversion from 'type1' to 'type2', possible loss of data 5459 4244, # Conversion from 'type1' to 'type2', possible loss of data
5461 4481, # Nonstandard extension used: override specifier 'keyword' 5460 4481, # Nonstandard extension used: override specifier 'keyword'
5462 4505, # Unreferenced local function has been removed 5461 4505, # Unreferenced local function has been removed
5463 4510, # Default constructor could not be generated 5462 4510, # Default constructor could not be generated
5464 4512, # Assignment operator could not be generated 5463 4512, # Assignment operator could not be generated
5465 4610, # Object can never be instantiated 5464 4610, # Object can never be instantiated
5466 ], 5465 ],
5467 'msvs_settings': { 5466 'msvs_settings': {
5468 'VCCLCompilerTool': { 5467 'VCCLCompilerTool': {
5469 'AdditionalOptions': ['/MP'], 5468 'AdditionalOptions': ['/MP'],
(...skipping 431 matching lines...) Expand 10 before | Expand all | Expand 10 after
5901 # settings in target dicts. SYMROOT is a special case, because many other 5900 # settings in target dicts. SYMROOT is a special case, because many other
5902 # Xcode variables depend on it, including variables such as 5901 # Xcode variables depend on it, including variables such as
5903 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 5902 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
5904 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 5903 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
5905 # files to appear (when present) in the UI as actual files and not red 5904 # files to appear (when present) in the UI as actual files and not red
5906 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 5905 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
5907 # and therefore SYMROOT, needs to be set at the project level. 5906 # and therefore SYMROOT, needs to be set at the project level.
5908 'SYMROOT': '<(DEPTH)/xcodebuild', 5907 'SYMROOT': '<(DEPTH)/xcodebuild',
5909 }, 5908 },
5910 } 5909 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698