C++ support doesn't work with std::vector

Andreas Pakulat apaku at gmx.de
Fri May 30 19:46:43 UTC 2008

On 30.05.08 19:25:18, David Nolden wrote:
> Ok I have compared to mine. I have gcc 4.3, and my stl_vector.h is newer and 
> has some added stuff, but not in a significant area. It may be that one of 
> the other involved files is different though. This needs analyzing, and it's 
> always very hard analyzing such stuff. The best thing possible would be a 
> minimal failing example. Maybe when you have some time, can you try doing 
> that? You need to copy the probably the about three involved header files 
> into a directory(or if possible even one file), make sure they include each 
> other and don't use global headers, and then start removing all stuff not 
> involved in the type until the problem is minimal, and then send it to me.

Ok, that was "easy" :) I hope I included really all necessary C++ code
so that it "should" be able to find out the return type.
Its only 1 file now which I attached. As said in the comment on the at()
function directly using _Tp& or _Tp doesn't help to get code-completion
(or the C++ part to know what the return type of at() is).

Hope that helps.


Try to get all of your posthumous medals in advance.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: foo.cpp
Type: text/x-c++src
Size: 1075 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20080530/3454b54b/attachment.cpp>

More information about the KDevelop-devel mailing list