C/C++ 错误处理

  1. has incomplete type and cannot be defined
    在头文件中添加该类型所在的文件
    eg:aggregate 'std::stringstream oss' has incomplete type and cannot be ;在文件中添加 include <sstream> 来解决。
原文地址:https://www.cnblogs.com/yunsicai/p/3592230.html