首页 > 技术文章 > 某一个类的代码后面没有加;

hanframe 2014-02-25 20:03 原文

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

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

 

推荐阅读