Bug 63708 - C++ Problem reporter confused by templates
Summary: C++ Problem reporter confused by templates
Status: RESOLVED DUPLICATE of bug 136464
Alias: None
Product: kdevelop
Classification: Applications
Component: Language Support: CPP (old) (show other bugs)
Version: git master
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: KDevelop Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-09-04 12:00 UTC by Christian Prochnow
Modified: 2013-03-31 00:56 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
File with reported problems in it (7.53 KB, text/plain)
2003-09-04 12:04 UTC, Christian Prochnow
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Prochnow 2003-09-04 12:00:14 UTC
Version:           3.0.0-CVS-HEAD (using KDE KDE 3.1.2)
Installed from:    Compiled From Sources
Compiler:          gcc version 3.2 20020903 
OS:          Linux

The c++ problem reporter seems to have problems with some template classes. I will attach a header file that you can reproduce it.
Comment 1 Christian Prochnow 2003-09-04 12:04:31 UTC
Created attachment 2368 [details]
File with reported problems in it

The problem reporter sees problems on line  94, 97, 98 (class Signal0)
However on a similar class (Signal1) or the specialization of Signal0 the
problem reporter does not see these problems.
The file compiles well. 
The problem reporter does'nt seem to analyze the template variables.
Comment 2 Jens Dagerbo 2006-12-29 09:50:45 UTC
Problem is with the parser, not the Problems display widget.
Comment 3 Jens Dagerbo 2006-12-31 03:58:57 UTC
AFAICT, the problem isn't with the template, it's simply that the C++ parser assumes "emit" "signal" and "slot" to be Qt keywords.
Comment 4 Jens Dagerbo 2006-12-31 04:04:01 UTC
I just realize we have a dupe of this.. The other report has a better description. Closing as dupe.

*** This bug has been marked as a duplicate of 136464 ***
Comment 5 Aleix Pol 2013-03-31 00:56:35 UTC
Moving all the bugs from the CPP Parser. It was not well defined the difference between it and C++ Language Support and people kept reporting in both places indistinctively