Index: build/common.gypi |
diff --git a/build/common.gypi b/build/common.gypi |
index 2433392a2c1287d5fcad8be7820151add9448d8f..13bf66a401bc9ea9f592450652b6ab5ffa4130e9 100644 |
--- a/build/common.gypi |
+++ b/build/common.gypi |
@@ -3746,16 +3746,13 @@ |
'-Wstring-conversion', |
], |
'OTHER_CPLUSPLUSFLAGS': [ |
- # gnu++11 instead of c++11 so that __ANSI_C__ doesn't get |
- # defined. (Else e.g. finite() in base/float_util.h needs to |
- # be isfinite() which doesn't exist on the android bots.) |
- # typeof() is also disabled in c++11 (but we could use |
danakj
2013/05/09 00:02:24
Oh, it mentioned typeof() here, but I see it's als
|
- # decltype() instead). |
- # TODO(thakis): Use CLANG_CXX_LANGUAGE_STANDARD instead once all |
- # bots use xcode 4 -- http://crbug.com/147515). |
+ # gnu++11 instead of c++11 is needed because some code uses |
+ # typeof() (a GNU extension). |
# TODO(thakis): Eventually switch this to c++11 instead of |
# gnu++11 (once typeof can be removed, which is blocked on c++11 |
# being available everywhere). |
+ # TODO(thakis): Use CLANG_CXX_LANGUAGE_STANDARD instead once all |
+ # bots use xcode 4 -- http://crbug.com/147515). |
'$(inherited)', '-std=gnu++11', |
], |
}], |