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

Side by Side Diff: build/common.gypi

Issue 10097002: clang: Remove -Wno-c++11-compat. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 8 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) 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 2085 matching lines...) Expand 10 before | Expand all | Expand 10 after
2096 # Clang spots more unused functions. 2096 # Clang spots more unused functions.
2097 '-Wno-unused-function', 2097 '-Wno-unused-function',
2098 # Don't die on dtoa code that uses a char as an array index. 2098 # Don't die on dtoa code that uses a char as an array index.
2099 '-Wno-char-subscripts', 2099 '-Wno-char-subscripts',
2100 # Especially needed for gtest macros using enum values from Mac 2100 # Especially needed for gtest macros using enum values from Mac
2101 # system headers. 2101 # system headers.
2102 # TODO(pkasting): In C++11 this is legal, so this should be 2102 # TODO(pkasting): In C++11 this is legal, so this should be
2103 # removed when we change to that. (This is also why we don't 2103 # removed when we change to that. (This is also why we don't
2104 # bother fixing all these cases today.) 2104 # bother fixing all these cases today.)
2105 '-Wno-unnamed-type-template-args', 2105 '-Wno-unnamed-type-template-args',
2106 # WebKit uses nullptr in a legit way, other that that this warning
2107 # doesn't fire.
2108 '-Wno-c++11-compat',
2109 # This (rightyfully) complains about 'override', which we use 2106 # This (rightyfully) complains about 'override', which we use
2110 # heavily. 2107 # heavily.
2111 '-Wno-c++11-extensions', 2108 '-Wno-c++11-extensions',
2112 2109
2113 # Warns on switches on enums that cover all enum values but 2110 # Warns on switches on enums that cover all enum values but
2114 # also contain a default: branch. Chrome is full of that. 2111 # also contain a default: branch. Chrome is full of that.
2115 '-Wno-covered-switch-default', 2112 '-Wno-covered-switch-default',
2116 2113
2117 # TODO(thakis): Reenable once http://webk.it/83920 is fixed. 2114 # TODO(thakis): Reenable once http://webk.it/83920 is fixed.
2118 '-Wno-literal-conversion', 2115 '-Wno-literal-conversion',
(...skipping 394 matching lines...) Expand 10 before | Expand all | Expand 10 after
2513 'GCC_VERSION': 'com.apple.compilers.llvm.clang.1_0', 2510 'GCC_VERSION': 'com.apple.compilers.llvm.clang.1_0',
2514 'WARNING_CFLAGS': [ 2511 'WARNING_CFLAGS': [
2515 '-Wheader-hygiene', 2512 '-Wheader-hygiene',
2516 # Don't die on dtoa code that uses a char as an array index. 2513 # Don't die on dtoa code that uses a char as an array index.
2517 # This is required solely for base/third_party/dmg_fp/dtoa.cc. 2514 # This is required solely for base/third_party/dmg_fp/dtoa.cc.
2518 '-Wno-char-subscripts', 2515 '-Wno-char-subscripts',
2519 # Clang spots more unused functions. 2516 # Clang spots more unused functions.
2520 '-Wno-unused-function', 2517 '-Wno-unused-function',
2521 # See comments on this flag higher up in this file. 2518 # See comments on this flag higher up in this file.
2522 '-Wno-unnamed-type-template-args', 2519 '-Wno-unnamed-type-template-args',
2523 # WebKit uses nullptr in a legit way, other that that this
2524 # warning doesn't fire.
2525 '-Wno-c++0x-compat',
2526 # This (rightyfully) complains about 'override', which we use 2520 # This (rightyfully) complains about 'override', which we use
2527 # heavily. 2521 # heavily.
2528 '-Wno-c++11-extensions', 2522 '-Wno-c++11-extensions',
2529 2523
2530 # Warns on switches on enums that cover all enum values but 2524 # Warns on switches on enums that cover all enum values but
2531 # also contain a default: branch. Chrome is full of that. 2525 # also contain a default: branch. Chrome is full of that.
2532 '-Wno-covered-switch-default', 2526 '-Wno-covered-switch-default',
2533 2527
2534 # TODO(thakis): Reenable once http://webk.it/83920 is fixed. 2528 # TODO(thakis): Reenable once http://webk.it/83920 is fixed.
2535 '-Wno-literal-conversion', 2529 '-Wno-literal-conversion',
(...skipping 472 matching lines...) Expand 10 before | Expand all | Expand 10 after
3008 # settings in target dicts. SYMROOT is a special case, because many other 3002 # settings in target dicts. SYMROOT is a special case, because many other
3009 # Xcode variables depend on it, including variables such as 3003 # Xcode variables depend on it, including variables such as
3010 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 3004 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
3011 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 3005 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
3012 # files to appear (when present) in the UI as actual files and not red 3006 # files to appear (when present) in the UI as actual files and not red
3013 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 3007 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
3014 # and therefore SYMROOT, needs to be set at the project level. 3008 # and therefore SYMROOT, needs to be set at the project level.
3015 'SYMROOT': '<(DEPTH)/xcodebuild', 3009 'SYMROOT': '<(DEPTH)/xcodebuild',
3016 }, 3010 },
3017 } 3011 }
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