Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] Index failures

If you're able to prepare a reduced testcase demonstrating any of your unresolved name issues, please file a bug and attach it.

Thanks,
Nate

________________________________________
From: cdt-dev-bounces@xxxxxxxxxxx <cdt-dev-bounces@xxxxxxxxxxx> on behalf of Avi Kivity <avi@xxxxxxxxxxxx>
Sent: August 27, 2016 8:53 AM
To: CDT General developers list.
Subject: [cdt-dev] Index failures

Running with master (+2 patches), I get indexing failures.  Identifiers are marked as unresolved, but pressing F3 takes me to their definition.

The parser log file says:


Include Search Path (option -I):
   /usr/include/c++/6.1.1
   /usr/include/c++/6.1.1/x86_64-redhat-linux
   /usr/include/c++/6.1.1/backward
   /usr/lib/gcc/x86_64-redhat-linux/6.1.1/include
   /usr/local/include
   /usr/include

Local Include Search Path (option -iquote):
   /home/avi/urchin
   /home/avi/urchin/seastar/build/release/gen
   /home/avi/urchin/build/release/gen
   /home/avi/urchin/seastar

...

Unresolved includes (from headers in index):
   file:/home/avi/urchin/seastar/core/preempt.hh is not indexed
   file:/usr/include/boost/functional/hash_fwd.hpp is not indexed
   file:/home/avi/urchin/seastar/core/fair_queue.hh is not indexed
   file:/home/avi/urchin/mutation_partition.hh is not indexed
...

Unresolved names:
   Attempt to use symbol failed: make_evictable in file /home/avi/urchin/row_cache.cc:66
   Attempt to use symbol failed: with_allocator in file /home/avi/urchin/row_cache.cc:67
   Attempt to use symbol failed: pop_back_and_dispose in file /home/avi/urchin/row_cache.cc:79
   Attempt to use symbol failed: current_deleter<cache_entry> in file /home/avi/urchin/row_cache.cc:79
   Attempt to use symbol failed: current_deleter<cache_entry> in file /home/avi/urchin/row_cache.cc:79
   Attempt to use symbol failed: with_allocator in file /home/avi/urchin/row_cache.cc:161

...

All those files are in the include path, and I see no reason for them not to be indexed.  Is there anything I can do to find out more about why these files were not indexed?



Back to the top