CDT inconsistant behaviour in Juno [message #1020121] |
Sun, 17 March 2013 09:22 |
Fred CORNU Messages: 2 Registered: March 2013 |
Junior Member |
|
|
Hi there,
as I'm new in here, I'm not allowed to link to images external to Eclise.org, so here is a link to a screenshot related to my issue
www.wardsback.org/misc/eclipse_stupidity.png
on line 52 I was able to autocomplete c_str() from an std::string, but autocompletion fails on lines 48 & 49, and I'm getting errors.
Strangely enought, though, tooltip shows that, on line 49, toStdString()'s return type is well known.
I set the indexer to index everything, rebuilt the index from scratch several times.
Can somebody help ?
I cannot work like this, having Eclipse telling me that I have errors in my project, when there are simply *none*
|
|
|
|
Re: CDT inconsistant behaviour in Juno [message #1020952 is a reply to message #1020121] |
Tue, 19 March 2013 08:50 |
Axel Mueller Messages: 1973 Registered: July 2009 |
Senior Member |
|
|
Fred CORNU wrote on Sun, 17 March 2013 10:22Hi there,
as I'm new in here, I'm not allowed to link to images external to Eclise.org, so here is a link to a screenshot related to my issue
www.wardsback.org/misc/eclipse_stupidity.png
on line 52 I was able to autocomplete c_str() from an std::string, but autocompletion fails on lines 48 & 49, and I'm getting errors.
Strangely enought, though, tooltip shows that, on line 49, toStdString()'s return type is well known.
I set the indexer to index everything, rebuilt the index from scratch several times.
Can somebody help ?
I cannot work like this, having Eclipse telling me that I have errors in my project, when there are simply *none*
- Did you get autocompletion for toStdString() itself in line 48?
- when you set the cursor on toStdString() in line 48 and press F3 where will you get?
- I don't understand line 50.
- Can you reproduce it with a small example?
- From your code snippet I guess the variable filePrefix is of type QString. I am using this, too, and have no problem with autocompletion.
Before you ask
- search this forum
- see the FAQ http://wiki.eclipse.org/CDT/User/FAQ
- google
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03188 seconds