diff --git a/include/begin_code.h b/include/begin_code.h index 4a6ae2083..22c997c41 100644 --- a/include/begin_code.h +++ b/include/begin_code.h @@ -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