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

Unified Diff: docs/linux_eclipse_dev.md

Issue 1954253002: Add docs on C++11 in Eclipse (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: docs/linux_eclipse_dev.md
diff --git a/docs/linux_eclipse_dev.md b/docs/linux_eclipse_dev.md
index a29035c2b67d88fd575863075068a4b8d6ed48d9..83889c53371add1edb0ea6a79d1e9ee351ea8da0 100644
--- a/docs/linux_eclipse_dev.md
+++ b/docs/linux_eclipse_dev.md
@@ -118,6 +118,13 @@ tries to do these too often and gets confused:
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...
« 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