DescriptionCorrectly define OVERRIDE / FINAL when building with g++ 4.7 and C++11 support
g++ 4.7 and later support explicit virtual overrides when building with C++11 support
enabled. Blink correctly detects that and defines OVERRIDE / FINAL properly. However,
Chrome does not detect compiler support properly and makes OVERRIDE / FINAL no-ops.
This causes the compiler to complain about OVERRIDE / FINAL being redefined.
This CL updates base/compiler_specific.h to define OVERRIDE / FINAL properly when
g++ 4.7 is used with C++11 support enabled.
See this page for GCC support of C++11 features:
http://gcc.gnu.org/projects/cxx0x.html
BUG=233330
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=239207
Patch Set 1 #
Messages
Total messages: 8 (0 generated)
|