某一个类的代码后面没有加;

Equip.h:22: error: two or more data types in declaration of 'EquipConfig'
Equip.h:22: error: conflicting declaration 'typedef class PBDropSubPackConfigMgr EquipConfig'
Equip.h:6: error: 'struct EquipConfig' has a previous declaration as 'struct EquipConfig'
make: *** [configmanager.dbg.o] Error 1

原因是某一个类的代码后面没有加;

 

posted @ 2014-02-25 20:03  hanframe  阅读(253)  评论(0编辑  收藏  举报