Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » indexer bugs?
indexer bugs? [message #187139] Tue, 06 March 2007 08:53
Eclipse UserFriend
Originally posted by: wadimd.gmail.com.usun.to

hello,

1.
I've played recently with CDT4 nightlies and found that the indexer
cannot find files for includes of form #include <somedir/blah.h> even if
project include path is set to proper directory where somedir/blah.h can
be found.

Log message is: "Preprocessor Inclusion not found:
isserverplus/util/logging/revision_id.h in file: C:\dev\src\is-server-
plus\isserverplus.datasupply.flashware\source\CaesarVersionN umber.cpp
on line: 4."

Hovewer, when <> are changed to "" then suddenly indexer catches the
source and displays suggestions/jumps to definitions.

This can be regularly observed e.g. on 20070219 build. On latest nightly
the includes are not always found after adding include path in project
properties and changing <> to "". For some cases it works for some not.

btw: What are the rules of indexer using the project include path settings?

2.
The workspace log file shows null pointer exceptions from indexer/parser
of form:

java.lang.NullPointerException
at
org.eclipse.cdt.internal.core.index.composite.cpp.CPPComposi tesFactory.getCompositeScope(CPPCompositesFactory.java:73)
at
org.eclipse.cdt.internal.core.index.composite.CompositeScope .getParent(CompositeScope.java:42)
(...)

I tried to find any regularity in occuring this problem but I failed. I
can only say that happened when I had more than one project in workspace
and indexer was gathering information.
(Actually our workspace is quite big, with circa 40 c++ projects for
various modules)

Are these problems known to You or should I submit bugs?

regards,
Wadim Dziedzic
Previous Topic:Build my own project template.
Next Topic:Console - interaction with user.
Goto Forum:
  


Current Time: Mon Jul 14 21:12:43 EDT 2025

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

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

Back to the top