Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fixed bug 4641 - clang and clang-cl builds on windows create -Wpragma…
…-pack warnings
  • Loading branch information
slouken committed Jun 10, 2019
1 parent 781692c commit 9891c31
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions include/begin_code.h
Expand Up @@ -105,6 +105,9 @@
#ifdef _MSC_VER
#pragma warning(disable: 4103)
#endif
#ifdef __clang__
#pragma clang diagnostic ignored "-Wpragma-pack"
#endif
#ifdef __BORLANDC__
#pragma nopackwarning
#endif
Expand Down

0 comments on commit 9891c31

Please sign in to comment.