mirror of
https://github.com/Relintai/sdl2_frt.git
synced 2025-04-03 12:32:45 +02:00
Fixed bug 4641 - clang and clang-cl builds on windows create -Wpragma-pack warnings
This commit is contained in:
parent
781692c03c
commit
9891c31ba0
@ -105,6 +105,9 @@
|
|||||||
#ifdef _MSC_VER
|
#ifdef _MSC_VER
|
||||||
#pragma warning(disable: 4103)
|
#pragma warning(disable: 4103)
|
||||||
#endif
|
#endif
|
||||||
|
#ifdef __clang__
|
||||||
|
#pragma clang diagnostic ignored "-Wpragma-pack"
|
||||||
|
#endif
|
||||||
#ifdef __BORLANDC__
|
#ifdef __BORLANDC__
|
||||||
#pragma nopackwarning
|
#pragma nopackwarning
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user