[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kdevelop-bugs
Subject:    [Bug 147493] New: class browser confused on operator new when
From:       Arturs Zoldners <kdevelop () tuci ! lv>
Date:       2007-07-03 11:51:02
Message-ID: 20070703135102.147493.kdevelop () tuci ! lv
[Download RAW message or body]

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=147493         
           Summary: class browser confused on operator new when initializing
                    structure
           Product: kdevelop
           Version: 3.4.1
          Platform: Fedora RPMs
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: kdevelop-bugs kdevelop org
        ReportedBy: kdevelop tuci lv


Version:           3.4.1 (using KDE KDE 3.5.7)
Installed from:    Fedora RPMs
Compiler:          gcc version 4.1.1 20070105 (Red Hat 4.1.1-51) 
OS:                Linux

The following code is correct under gcc (perhaps gcc-ism),
but confuses kdevelop class browser:

typedef struct
{
	int foo;
	int bar;
} baz;

namespace N
{
	class C
	{
		int fun(void)
		{
			new baz((baz) {1,2}); // <- !
		}
	};
}

as a result, class C disappears from namespace N in class browser.

_______________________________________________
KDevelop-bugs mailing list
KDevelop-bugs@kdevelop.org
https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-bugs
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic