Bug 37270

Summary: misreported structurename if __atribute__
Product: [Applications] kdevelop Reporter: kms
Component: Language Support: CPP (old)Assignee: KDevelop-Devel List <kdevelop-devel>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: 2.0   
Target Milestone: ---   
Platform: RedHat Enterprise Linux   
OS: Linux   
Latest Commit: Version Fixed In:

Description kms 2002-01-18 14:29:27 UTC
(*** This bug was imported into bugs.kde.org ***)

Package:           kdevelop
Version:           2.0 (using KDE 2.2.2 )
Severity:          normal
Installed from:    RedHat RPMs
Compiler:          2.96
OS:                Linux
OS/Compiler notes: Not Specified

if code contains special attribute as gnu's  __attribute__ ((packed))  in end of strucure declarations it is reported in the class browser as __attribute__. This is is obviously wrong since __atribute__ only changes the storage attributes of the structure - and not it's name. Example :

struct SOA_pool_member_s
{
  union datafield_u
  {
    char datafield_c[SOA_DATA_FIELD_SIZE];
    int datafield_i;
    float datafield_f;
  } datafield;
} __attribute__ ((packed));



(Submitted via bugs.kde.org)
(Called from KBugReport dialog. Fields Application KDE Version OS Compiler manually changed)
Comment 1 Caleb Tennis 2003-02-26 21:34:03 UTC
Fixed in Gideon CVS (per Roberto) 
Comment 2 Aleix Pol 2013-03-31 00:54:15 UTC
Moving all the bugs from the CPP Parser. It was not well defined the difference between it and C++ Language Support and people kept reporting in both places indistinctively