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

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

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

原文地址:https://www.cnblogs.com/hanframe/p/3567563.html