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

List:       kdevelop-bugs
Subject:    [Bug 171882] New: "Create New Class" feature #includes the generated
From:       Casey Link <unnamedrambler () gmail ! com>
Date:       2008-09-30 2:05:34
Message-ID: bug-171882-40295 () http ! bugs ! kde ! org/
[Download RAW message or body]

http://bugs.kde.org/show_bug.cgi?id=171882

           Summary: "Create New Class" feature #includes the generated cpp
                    in itself
           Product: kdevelop
           Version: SVN
          Platform: Compiled Sources
        OS/Version: Linux
            Status: NEW
          Severity: crash
          Priority: NOR
         Component: general
        AssignedTo: kdevelop-bugs@kdevelop.org
        ReportedBy: unnamedrambler@gmail.com


Version:           SVN (using Devel)
Compiler:          gcc (GCC) 4.2.3  (Ubuntu 4.2.3-2ubuntu7) 
OS:                Linux
Installed from:    Compiled sources

When you create a new class in Kdev4 the resulting .cpp file #includes itself,
which causes an infinite #include loop. Which crashes kdev (this crash I
suppose is a separate parser bug).

To reproduce:
1. Code > Create New Class
2. Run Through the Wizard
3. Specify a NewClass.h and NewClass.cpp as filenames (actual name doesn't
matter)
4. Open the new NewClass.cpp file, and see the #include "NewClass.cpp"
5. Let the parser parse the new file -> crash!

Expected Behavior:
NewClass.cpp should #include "NewClass.h"


-- 
Configure bugmail: http://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

_______________________________________________
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