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

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: Another Windows fix 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
« no previous file with comments | « base/security_unittest.cc ('k') | 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 5393 matching lines...) Expand 10 before | Expand all | Expand 10 after
5404 # Chromium code compiles without exception support. We therefore have 5404 # Chromium code compiles without exception support. We therefore have
5405 # to use setjmp/longjmp for e.g. JPEG decode error handling, which 5405 # to use setjmp/longjmp for e.g. JPEG decode error handling, which
5406 # means we have to turn off this warning (and be careful about how 5406 # means we have to turn off this warning (and be careful about how
5407 # object destruction happens in such cases). 5407 # object destruction happens in such cases).
5408 4611, 5408 4611,
5409 5409
5410 # TODO(maruel): These warnings are level 4. They will be slowly 5410 # TODO(maruel): These warnings are level 4. They will be slowly
5411 # removed as code is fixed. 5411 # removed as code is fixed.
5412 4100, # Unreferenced formal parameter 5412 4100, # Unreferenced formal parameter
5413 4121, # Alignment of a member was sensitive to packing 5413 4121, # Alignment of a member was sensitive to packing
5414 4189, # Local variable is initialized but not referenced
5415 4244, # Conversion from 'type1' to 'type2', possible loss of data 5414 4244, # Conversion from 'type1' to 'type2', possible loss of data
5416 4481, # Nonstandard extension used: override specifier 'keyword' 5415 4481, # Nonstandard extension used: override specifier 'keyword'
5417 4505, # Unreferenced local function has been removed 5416 4505, # Unreferenced local function has been removed
5418 4510, # Default constructor could not be generated 5417 4510, # Default constructor could not be generated
5419 4512, # Assignment operator could not be generated 5418 4512, # Assignment operator could not be generated
5420 4610, # Object can never be instantiated 5419 4610, # Object can never be instantiated
5421 4996, # 'X': was declared deprecated (for GetVersionEx). 5420 4996, # 'X': was declared deprecated (for GetVersionEx).
5422 ], 5421 ],
5423 'msvs_settings': { 5422 'msvs_settings': {
5424 'VCCLCompilerTool': { 5423 'VCCLCompilerTool': {
(...skipping 432 matching lines...) Expand 10 before | Expand all | Expand 10 after
5857 # settings in target dicts. SYMROOT is a special case, because many other 5856 # settings in target dicts. SYMROOT is a special case, because many other
5858 # Xcode variables depend on it, including variables such as 5857 # Xcode variables depend on it, including variables such as
5859 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 5858 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
5860 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 5859 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
5861 # files to appear (when present) in the UI as actual files and not red 5860 # files to appear (when present) in the UI as actual files and not red
5862 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 5861 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
5863 # and therefore SYMROOT, needs to be set at the project level. 5862 # and therefore SYMROOT, needs to be set at the project level.
5864 'SYMROOT': '<(DEPTH)/xcodebuild', 5863 'SYMROOT': '<(DEPTH)/xcodebuild',
5865 }, 5864 },
5866 } 5865 }
OLDNEW
« no previous file with comments | « base/security_unittest.cc ('k') | build/config/compiler/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698