Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Completion: std namespace almost empty
Completion: std namespace almost empty [message #195479] Fri, 06 July 2007 10:53
Szczepan Holyszewski is currently offline Szczepan HolyszewskiFriend
Messages: 9
Registered: July 2009
Junior Member
#include <iostream>

std:://no iostream typedef among completion proposals!

The problem is caused by indexer's inability to parse the macro call that
the standard headers coming with gcc 4.2.1 use to open the std namespace:


Here's how bits/c++config.h defines that macro:

__attribute__ ((__visibility__ (#V)))

namespace X _GLIBCXX_VISIBILITY(default) {

It seems that the scanner cannot properly recognize the expansion:

namespace std __attribute__ ((__visibility__ ("default"))) {

I could work around the problem by employing a nasty kludge involving a
modified copy of bits/c++config.h and exploiting a deficiency of the
configuration scanner that makes it possible to specify additional include
search paths for the build that won't be seen by the indexer.

SZczepan Holyszewski
Previous Topic:Strange memory problems
Next Topic:Eclipse3.3, CDT4.0, Managed Make invisible
Goto Forum:

Current Time: Fri Apr 20 11:03:14 GMT 2018

Powered by FUDForum. Page generated in 0.01406 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software