Add docs on C++11 in Eclipse
BUG=none
TEST=none
Review-Url: https://codereview.chromium.org/1954253002
Cr-Commit-Position: refs/heads/master@{#392176}
diff --git a/docs/linux_eclipse_dev.md b/docs/linux_eclipse_dev.md
index a29035c..83889c5 100644
--- a/docs/linux_eclipse_dev.md
+++ b/docs/linux_eclipse_dev.md
@@ -118,6 +118,13 @@
1. Turn off "Refresh using native hooks or polling"
1. Click "Apply"
+Chromium uses C++11, so tell the indexer about it. Otherwise it will get
+confused about things like std::unique_ptr.
+
+1. Open Window > Preferences > C/C++ > Build > Settings > Discovery >
+ CDT GCC Build-in Compiler Settings
+1. In the text box entitled Command to get compiler specs append "-std=c++11"
+
Create a single Eclipse project for everything:
1. From the File menu, select New > Project...