error :expected initializer before

很可能头文件或者前面的某个定义少了个;

原文地址:https://www.cnblogs.com/zhouweibaba/p/10152929.html