diff options
author | bungeman <bungeman@google.com> | 2016-03-21 07:46:28 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-03-21 07:46:28 -0700 |
commit | 85c9447d4da7b9a12b0fe2894267bd0dc7e6d0f8 (patch) | |
tree | 947c0fd6ad150abd8f39a4def30f0c78504a5591 /site/dev | |
parent | 7b2707d538da3a13e36f68e7ef11df87e9c049a5 (diff) |
Add note about Chromium's use of old libstdc++ to docs.
Chromium must still build against libstdc++4.6.4, which presents limits
on at least type traits and perhaps performance.
NOTRY=true
DOCS_PREVIEW= https://skia.org/?cl=1820873002
Review URL: https://codereview.chromium.org/1820873002
Diffstat (limited to 'site/dev')
-rw-r--r-- | site/dev/contrib/c++11.md | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/site/dev/contrib/c++11.md b/site/dev/contrib/c++11.md index 1854feb3b6..432ad88f3a 100644 --- a/site/dev/contrib/c++11.md +++ b/site/dev/contrib/c++11.md @@ -24,7 +24,9 @@ internal Google projects. Chrome builds with a recent Clang on Mac and Linux and with a recent MSVC on Windows. These toolchains are new enough to not be the weak link to use any -C++11 language feature. +C++11 language feature. Chromium, however, builds against libstdc++4.6.4 +(STL and runtime) on Linux. This precludes direct use of a number of type +traits. Chrome intentionally disables thread-safe initialization of static variables, so we cannot rely on that. Our bots disable this too, so keep an eye on TSAN. |