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

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: Resync 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 5386 matching lines...) Expand 10 before | Expand all | Expand 10 after
5397 # Chromium code compiles without exception support. We therefore have 5397 # Chromium code compiles without exception support. We therefore have
5398 # to use setjmp/longjmp for e.g. JPEG decode error handling, which 5398 # to use setjmp/longjmp for e.g. JPEG decode error handling, which
5399 # means we have to turn off this warning (and be careful about how 5399 # means we have to turn off this warning (and be careful about how
5400 # object destruction happens in such cases). 5400 # object destruction happens in such cases).
5401 4611, 5401 4611,
5402 5402
5403 # TODO(maruel): These warnings are level 4. They will be slowly 5403 # TODO(maruel): These warnings are level 4. They will be slowly
5404 # removed as code is fixed. 5404 # removed as code is fixed.
5405 4100, # Unreferenced formal parameter 5405 4100, # Unreferenced formal parameter
5406 4121, # Alignment of a member was sensitive to packing 5406 4121, # Alignment of a member was sensitive to packing
5407 4189, # Local variable is initialized but not referenced
5408 4244, # Conversion from 'type1' to 'type2', possible loss of data 5407 4244, # Conversion from 'type1' to 'type2', possible loss of data
5409 4481, # Nonstandard extension used: override specifier 'keyword' 5408 4481, # Nonstandard extension used: override specifier 'keyword'
5410 4505, # Unreferenced local function has been removed 5409 4505, # Unreferenced local function has been removed
5411 4510, # Default constructor could not be generated 5410 4510, # Default constructor could not be generated
5412 4512, # Assignment operator could not be generated 5411 4512, # Assignment operator could not be generated
5413 4610, # Object can never be instantiated 5412 4610, # Object can never be instantiated
5414 4996, # 'X': was declared deprecated (for GetVersionEx). 5413 4996, # 'X': was declared deprecated (for GetVersionEx).
5415 ], 5414 ],
5416 'msvs_settings': { 5415 'msvs_settings': {
5417 'VCCLCompilerTool': { 5416 'VCCLCompilerTool': {
(...skipping 432 matching lines...) Expand 10 before | Expand all | Expand 10 after
5850 # settings in target dicts. SYMROOT is a special case, because many other 5849 # settings in target dicts. SYMROOT is a special case, because many other
5851 # Xcode variables depend on it, including variables such as 5850 # Xcode variables depend on it, including variables such as
5852 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 5851 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
5853 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 5852 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
5854 # files to appear (when present) in the UI as actual files and not red 5853 # files to appear (when present) in the UI as actual files and not red
5855 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 5854 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
5856 # and therefore SYMROOT, needs to be set at the project level. 5855 # and therefore SYMROOT, needs to be set at the project level.
5857 'SYMROOT': '<(DEPTH)/xcodebuild', 5856 'SYMROOT': '<(DEPTH)/xcodebuild',
5858 }, 5857 },
5859 } 5858 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698