'C' type enums in CW 10.x / Eclipse

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

'C' type enums in CW 10.x / Eclipse

740 次查看
ChipBurns
Contributor I

Does the CW 10.x / Eclipse compiler support 'C' type enums?  Some don't (e.g. IAR C++) and even the bracketing:

 

SomeHeaderFile.h

 

#ifdef __cplusplus

extern "C" {

#endif

 

typedef

enum     _SOMEENUMNAME

{

        ...

} SOMEENUMNAME;

 

#ifdef __cplusplus

}

#endif

 

will still fail to compile. 

 

We're currently using CW 5.7.0 (which supports 'C' type enums) and I'm trying to guage the pain of conversion to CW 10.x on this topic.

 

Thx,

 

Chip Burns

标签 (1)
0 项奖励
回复
1 回复

528 次查看
CrasyCat
Specialist III

Hello

 

With V10.x we did change from CodeWarrior classic IDE to an Eclipse IDE.

We did not remove basic functionality from the build tools.

 

So if your classic IDE tools support enumerated types, the Eclipse version should support them as well.

 

CrasyCat

0 项奖励
回复