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

List:       kdevelop-bugs
Subject:    [Bug 140966] New: implementation declaration broken with namespaces
From:       Andrea Rizzi <rizzi () kde ! org>
Date:       2007-01-31 17:39:07
Message-ID: 20070131183907.140966.rizzi () kde ! org
[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=140966         
           Summary: implementation declaration broken with namespaces
           Product: kdevelop
           Version: 3.4.0
          Platform: Ubuntu Packages
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: kdevelop-bugs kdevelop org
        ReportedBy: rizzi kde org


Version:           3.4.0 (using KDE KDE 3.5.5)
Installed from:    Ubuntu Packages

The switching correct identification of implementaion/declartion of functions is \
broken with namespace. E.g. function declared in .h as 
std::vector<int> foo(std::vector<int>);

an then implemented in .cpp as
using namespace std;
vector<int> foo(vector<int>)
{
}

are not correctly "paired". The strange thing is that sometimes it seems it is able \
to understand that they are the same function, sometimes it doesnt. Once the function \
is recognized, by adding std:: in the .cpp,  even removing the ::std the functions \
stays paired.


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

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