Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 366344 - CDT can compile my codes, but cannot find the standard C/C++ Headers and give me the Paramter Hints!
Summary: CDT can compile my codes, but cannot find the standard C/C++ Headers and give...
Status: RESOLVED DUPLICATE of bug 304139
Alias: None
Product: CDT
Classification: Tools
Component: cdt-core (show other bugs)
Version: 8.1.0   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact: Doug Schaefer CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-11 21:28 EST by lhl CLA
Modified: 2012-02-23 11:30 EST (History)
0 users

See Also:


Attachments
There is not a Includes node under the project name. (80.33 KB, image/png)
2011-12-11 21:37 EST, lhl CLA
no flags Details
Cannot find iostream file, but the project can build successfully. (84.66 KB, image/png)
2011-12-11 21:41 EST, lhl CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description lhl CLA 2011-12-11 21:28:14 EST
Build Identifier: I20110613-1736

I am not good at English, but I have to report a bug because I encounter a strange and serious problem.
I use Ubuntu 11.10, default system language is Chinese(simplified). When I use eclipse (installed through "Ubuntu software Center" or just download a tar from website and decompression to a location) to create a HelloWorld C or C++ project, the CDT cannot auto add the standard headers to the project,there is not a "includes" node under the project name in "Project Explorer". But it can successfully build. The "Paramter Hints" also is not work. I can add C_INCLUDE_PATH and CPLUS_INCLUDE_PATH to partly solve the problem, but I think its not the real solution.
When I change the system language to English, there is not the problem at all.

Reproducible: Always
Comment 1 lhl CLA 2011-12-11 21:37:48 EST
Created attachment 208238 [details]
There is not a Includes node under the project name.
Comment 2 lhl CLA 2011-12-11 21:41:30 EST
Created attachment 208239 [details]
Cannot find iostream file, but the project can build successfully.
Comment 3 Andrew Gvozdev CLA 2011-12-12 07:37:29 EST
Please, try nightly build of CDT.

*** This bug has been marked as a duplicate of bug 304139 ***