Completion: std namespace almost empty [message #195479] |
Fri, 06 July 2007 06:53 |
Eclipse User |
|
|
|
#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:
_GLIBCXX_BEGIN_NAMESPACE(std)
Here's how bits/c++config.h defines that macro:
#define _GLIBCXX_VISIBILITY(V)\
__attribute__ ((__visibility__ (#V)))
# define _GLIBCXX_BEGIN_NAMESPACE(X)\
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
|
|
|
Powered by
FUDForum. Page generated in 0.03991 seconds