Community
Participate
Working Groups
======== Bug scenario: 1. Launch an Eclipse Indigo (CDT) and create workspace "_Source Code" at startup. 2. Create a new C++ project using wizard "C++ Project / Hello World" 3. Look at the "Problems" tab (at the bottom) and got the message "Error (3 items)". But there is no errors. Build is ok. Run/Debug is ok. ========== Possible solving: 1. Create workspace "_Source" at startup. (not using space characters. Space chars in the Workspace Name are the reason of the bug, I suppose.) -- Configuration Details -- Product: Eclipse 1.4.1.20110909-0613 (org.eclipse.epp.package.cpp.product) Installed Features: org.eclipse.platform 3.7.1.r37x_v20110729-9gF7UHOxFtniV7mI3T556iZN9AU8bEZ1lHMcVK
It works for me fine with Cygwin toolchain. But I see that file in scanner discovery command is adorned with quotes for cygwin. That is not the case for other toolchains though. Which toolchain are you using? Can you open project properties, C/C++ Build->Discovery Options, then enclose "${plugin_state_location}/specs.cpp" with double quotes and rebuild the project?
1. Toolchain: Linux GCC (I've just installed clear Ubuntu 11.04 and used the default compilers settings. Also Eclipse Indigo was just unpacked from zip-archive only.) 2. Enclosing "${plugin_state_location}/specs.cpp" with double quotes resolved the problem immideately! (Even without rebuild.) Thanks! P.S. Just my idle curiosity: Andrew Gvozdev is a Russian name?
Thanks for reporting, fixed on master and for 8.0.2. > P.S. Just my idle curiosity: Andrew Gvozdev is a Russian name? Yes.
*** cdt git genie on behalf of Andrew Gvozdev *** bug 360283: Discovery command does not work if workspace name has spaces [*] http://git.eclipse.org/c/cdt/org.eclipse.cdt.git/commit/?id=c617df3475fcbaed5c3ff44ba9e7b43ff370ecf1
*** cdt git genie on behalf of Andrew Gvozdev *** bug 360283: Discovery command does not work if workspace name has spaces [*] http://git.eclipse.org/c/cdt/org.eclipse.cdt.git/commit/?id=df7907c7bd24a6fcafffd18aada3b44e3bf7a731