Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
Qt Creator 4.7.2, Qt Creator 4.8.0-beta1
-
Ubuntu 18.04
g++ (Ubuntu 7.3.0-27ubuntu1~18.04) 7.3.0
Qt Creator 4.7.2, 4.7.1, not sure about older
Description
I see such warning in one of my header (C++) files in Qt Editor
#include <cstdint> #include <limits> #include <arpa/inet.h> #pragma pack(push, 1) <---- unterminated '#pramga pack(push,...) at end of file struct PackedStruct { }; #pragma pack(pop) struct UnPackedStruct { ...... } ;
So if I will move UnPackedStruct before pragma pack and pop is last line, warning rotes away.
Including my plugins enabled screen shot
Attachments
Issue Links
- relates to
-
QTCREATORBUG-20883 Clang: "Unterminated conditional directive" error marker on circular includes
- Closed