How to make the CTags plugin default disabled for only KDevelop, but not Kate?

rhkramer at gmail.com rhkramer at gmail.com
Mon Jul 15 15:09:49 BST 2019


On Monday, July 15, 2019 09:09:44 AM René J.  V. Bertin wrote:
> KDevelop currently cannot know about functions
> declared in header files that are not being included, for instance). 

I've cut away a lot of context, partly because I'm a newbie to C++ and 
kdevelop and this may be a hint to one of the problems I'm having.

Let me ask the general question first: are there circumstances in which a C++ 
program can compile correctly, but with some functions (or similar) in header 
files which are not included (presumably in the file where the function / 
variable / or whatever is being used?

If so, what are those circumstances?

An example of my specific problem:

I am getting a fair number of messages in kdevelop for a project that compiles 
and then runs mostly correctly (there is what I consider to be a fairly subtle 
bug, but it is of sort of an intermittent nature, in some situations 
everything works fine, and then there are some circumstances where it doesn't 
work correctly.  (This is like for records in a file, it may work for the first 
5 or 6 records, then fail on a few records, then work again.  

Kdevelop shows me a small number of messages like this (paraphrased because I 
actually do the development work on a different computer without easy email 
access):

Note: If someone remembers my earlier correspondence, at one point I had 
something like 110 messages like the following.  Rene and someone else on the 
list gave me some advice, I followed it (basically telling kdevelop about the 
included files), but these error messages remain.  I saw a clue somewhere else 
in the mailing list that may lead me to the std::Scintilla problem (or not, 
because I vaguely think there was no resolution.

The subject of my question here is the messages like "No <something> named 
<something> in namespace 'std' -- any hints on how to resolve that problem?

<the remaining error messages / warnings from kdevelop on parsing the project>
No namespace named 'Scintilla', did you mean 'std;:Scintilla'
No template named 'map' in namespace 'std'
No member named 'map' in namespace 'std'
Use of undeclared identifier "Sci_Position'
No template named 'map' in namespace 'std'
No member named 'map' in namespace 'std'
Use of undeclared identifier "Sci_Position'
No type named 'regex' in namespace 'std'
No type named 'regex' in namespace 'std'
No type named 'regex' in namespace 'std'
</the remaining error messages / warnings from kdevelop on parsing the 
project>

Thanks!


More information about the KDevelop-devel mailing list