Bug 37270 - misreported structurename if __atribute__
Summary: misreported structurename if __atribute__
Status: RESOLVED FIXED
Alias: None
Product: kdevelop
Classification: Applications
Component: Language Support: CPP (old) (show other bugs)
Version: 2.0
Platform: RedHat Enterprise Linux Linux
: NOR normal
Target Milestone: ---
Assignee: KDevelop-Devel List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-01-18 14:33 UTC by kms
Modified: 2013-03-31 00:54 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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