使用QT环境:
Qt Creator 4.13.1
Based on Qt 5.15.1 (MSVC 2019, 32 bit)
问题现象:
解决办法:
在#pragma pack(push) 前面加上分号
参考:
https://blog.csdn.net/qq_38777624/article/details/107022865
https://bugreports.qt.io/browse/QTCREATORBUG-21437
QT 出现 warning: unterminated #pragma pack (push, ...) at end of file 问题后,解决方案
原文:https://www.cnblogs.com/yhcasey/p/14645874.html