mirror of
https://github.com/intrepidcs/libicsneo.git
synced 2026-08-05 09:28:40 +02:00
WiVICommandPacket: Disable MSVC struct warnings
This commit is contained in:
@@ -8,6 +8,9 @@
|
|||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
#pragma pack(push,2)
|
#pragma pack(push,2)
|
||||||
|
#pragma warning(push)
|
||||||
|
#pragma warning(disable: 4201) // nonstandard extension used: nameless struct/union
|
||||||
|
#pragma warning(disable: 4200) // nonstandard extension used: zero-sized array in struct/union
|
||||||
|
|
||||||
namespace icsneo {
|
namespace icsneo {
|
||||||
|
|
||||||
@@ -124,6 +127,7 @@ struct CommandPacket {
|
|||||||
|
|
||||||
} // namespace icsneo
|
} // namespace icsneo
|
||||||
|
|
||||||
|
#pragma warning(pop)
|
||||||
#pragma pack(pop)
|
#pragma pack(pop)
|
||||||
|
|
||||||
#endif // __cplusplus
|
#endif // __cplusplus
|
||||||
|
|||||||
Reference in New Issue
Block a user