Author Topic: Wrong symbol type display  (Read 9895 times)

Offline SamT

  • Multiple posting newcomer
  • *
  • Posts: 41
Wrong symbol type display
« on: July 10, 2007, 05:11:57 pm »
Hi,

Could you please help to check the type of the symbol display as following condition?

Code
typedef unsigned char       UINT8;

typedef struct T_PortProperity
{
    UINT8   PortAdmin           : 1;
    UINT8   Reserved            : 1;
    UINT8   PortStatus          : 3;
    UINT8   PortClassification  : 3;
}T_PortProperity;

The symbol page will display:
PortAdmin : UINT8
PortClassification : UINT8UINT8UINT8UINT8
PortStatus : UINT8UINT8UINT8
Reserved : UINT8UINT8

Does anybody report this issue before? I think this is related with CodeCompletePlugin so I post here.


Offline rickg22

  • Lives here!
  • ****
  • Posts: 2283
Re: Wrong symbol type display
« Reply #1 on: July 10, 2007, 09:29:33 pm »
bitfields are very rarely used, so it might be possible that Code completion's c++ parser implementation might not be ready for that kind of structures. Please post a bug report at berlios.

Offline Ceniza

  • Developer
  • Lives here!
  • *****
  • Posts: 1441
    • CenizaSOFT
Re: Wrong symbol type display
« Reply #2 on: July 10, 2007, 11:57:38 pm »
I think that bug was already reported, perhaps as a feature request. Be sure not to duplicate it.