Bug 326167 - Kdevelop adds (seemingly) random header files
Summary: Kdevelop adds (seemingly) random header files
Status: RESOLVED DUPLICATE of bug 315505
Alias: None
Product: kdevelop
Classification: Applications
Component: Language Support: CPP (old) (show other bugs)
Version: 4.5.60
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-10-17 23:01 UTC by rjwgnr27
Modified: 2013-10-18 06:22 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description rjwgnr27 2013-10-17 23:01:31 UTC
Occasionally after editing, I'll try to compile the source, and will get strange errors. What I find is an "#include" has been inserted into the source. The header appears to be random; in some cases, the file is from a different section of the project tree; other from the global headers (/usr/include/...). 

In the latest instance, "#include <boost/concept_check.hpp>" was inserted into my .c file. At times I have seen headers from other include directories from the project tree. This occurs in both C and C++ sources.


Reproducible: Sometimes

Steps to Reproduce:
1. Do some editing in source
2. Start a build

Actual Results:  
Errors reported do to headers in unrelated context. 

Other times no errors, but doing review of SVN diffs prior to check-in, find irrelevant headers included.


Expected Results:  
No unneeded or irrelevant headers added.


I have seen this for quite some time, so this is not a recent regression.
Comment 1 Kevin Funk 2013-10-18 06:22:15 UTC

*** This bug has been marked as a duplicate of bug 315505 ***