Backport VST3 diagnostic pragma
Fixes excessive warnings when compiling on macOS. This will be overwritten with the identical upstream fix https://github.com/steinbergmedia/vst3_pluginterfaces/blob/master/base/falignpush.h with the next tools/update_vst3.sh run
This commit is contained in:
parent
e3c3109618
commit
650f027a9b
@ -16,15 +16,13 @@
|
||||
|
||||
//----------------------------------------------------------------------------------------------
|
||||
#if SMTG_OS_MACOS
|
||||
#pragma GCC diagnostic ignored "-Wunknown-warning-option"
|
||||
#pragma GCC diagnostic ignored "-Wunknown-warning-option"
|
||||
#pragma GCC diagnostic ignored "-Wpragma-pack"
|
||||
#if SMTG_PLATFORM_64
|
||||
#pragma pack(push, 16)
|
||||
#else
|
||||
#pragma pack(push, 1)
|
||||
#endif
|
||||
#pragma GCC diagnostic default "-Wpragma-pack"
|
||||
#pragma GCC diagnostic default "-Wunknown-warning-option"
|
||||
#elif defined __BORLANDC__
|
||||
#pragma -a8
|
||||
#elif SMTG_OS_WINDOWS
|
||||
|
Loading…
Reference in New Issue
Block a user