Bug#37270: misreported structurename if __atribute__

kms at sfktech.com kms at sfktech.com
Fri Jan 18 15:34:02 UTC 2002


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)





More information about the KDevelop-devel mailing list