Bug 229335

Summary: kdevelop cannot parse typeid values
Product: [Applications] kdevelop Reporter: Rafał Malinowski <rafal.przemyslaw.malinowski>
Component: Language Support: CPP (old)Assignee: kdevelop-bugs-null
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Rafał Malinowski 2010-03-04 00:47:39 UTC
Version:            (using Devel)
OS:                Linux
Installed from:    Compiled sources

Following file is valid C++ file:


#include <typeinfo>
#include <stdio.h>

class X
{
};

void test()
{
	X *object;
	printf("type: %s\n", typeid(object).name());
}


But kdevelop marks line with printf as invalid (does not accept .name() as valid).
Comment 1 Andreas Pakulat 2010-03-04 00:57:40 UTC
I think we already have another report open about typeid, but I can't find it right now.
Comment 2 Milian Wolff 2010-06-16 00:40:17 UTC
marking as duplicate.

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