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

List:       kdevelop-bugs
Subject:    [Bug 276759] New: KDevelop thinks class-private union members are
From:       Alexander <ashaduri () gmail ! com>
Date:       2011-06-29 17:15:21
Message-ID: bug-276759-40295 () http ! bugs ! kde ! org/
[Download RAW message or body]

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

           Summary: KDevelop thinks class-private union members are public
           Product: kdevelop
           Version: git master
          Platform: Compiled Sources
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: Language Support: CPP
        AssignedTo: kdevelop-bugs@kdevelop.org
        ReportedBy: ashaduri@gmail.com


Version:           git master (using KDE 4.6.3) 
OS:                Linux

I think the following example is self-describing:

class A {
    int s;  // KDevelop (correctly) says private
    union {
        double d;  // KDevelop says public, but it should say private
    };
};

KDevelop / KDevPlatform git master (2011-06-29).

Thanks!

Reproducible: Always

Steps to Reproduce:
Just paste the example I provided into a .cpp or .h file.


Expected Results:  
"d" should be detected as private.

openSUSE 11.3 x86_64.

-- 
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