QT 出现 warning: unterminated #pragma pack (push, ...) at end of file 问题后,解决方案

使用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

posted @ 2021-04-11 22:18  小白工程师修行记  阅读(1450)  评论(0编辑  收藏  举报