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

List:       kdevelop-bugs
Subject:    [Bug 277607] New: using namespace directive not fully handled.
From:       cedric <cedric.borgese () gmail ! com>
Date:       2011-07-12 9:33:24
Message-ID: bug-277607-40295 () http ! bugs ! kde ! org/
[Download RAW message or body]

https://bugs.kde.org/show_bug.cgi?id=277607

           Summary: using namespace directive not fully handled.
           Product: kdevelop
           Version: git master
          Platform: Compiled Sources
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: NOR
         Component: Language Support: CPP
        AssignedTo: kdevelop-bugs@kdevelop.org
        ReportedBy: cedric.borgese@gmail.com


Version:           git master (using Devel) 
OS:                Linux

when "using namespace Foo;" is used within a namespace Bar, each following
namespace Bar scope should know about namespace Foo.
In the attached an exemple of code, line 20, class AA is not solved by the code
analyser but the code is valid (it compile with g++ at least from g++ 3.4 and
with ms compiler at least with version 2005)

Reproducible: Always

Steps to Reproduce:
Open the attached file with kdevelop, line 20, class AA is not recognized.


Expected Results:  
In the attached file, line 20, class AA should have been resolved as A::AA

-- 
Configure bugmail: https://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