mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 14:54:56 +01:00
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
1 changed files with 1 additions and 3 deletions
|
|
@ -16,15 +16,13 @@
|
||||||
|
|
||||||
//----------------------------------------------------------------------------------------------
|
//----------------------------------------------------------------------------------------------
|
||||||
#if SMTG_OS_MACOS
|
#if SMTG_OS_MACOS
|
||||||
#pragma GCC diagnostic ignored "-Wunknown-warning-option"
|
#pragma GCC diagnostic ignored "-Wunknown-warning-option"
|
||||||
#pragma GCC diagnostic ignored "-Wpragma-pack"
|
#pragma GCC diagnostic ignored "-Wpragma-pack"
|
||||||
#if SMTG_PLATFORM_64
|
#if SMTG_PLATFORM_64
|
||||||
#pragma pack(push, 16)
|
#pragma pack(push, 16)
|
||||||
#else
|
#else
|
||||||
#pragma pack(push, 1)
|
#pragma pack(push, 1)
|
||||||
#endif
|
#endif
|
||||||
#pragma GCC diagnostic default "-Wpragma-pack"
|
|
||||||
#pragma GCC diagnostic default "-Wunknown-warning-option"
|
|
||||||
#elif defined __BORLANDC__
|
#elif defined __BORLANDC__
|
||||||
#pragma -a8
|
#pragma -a8
|
||||||
#elif SMTG_OS_WINDOWS
|
#elif SMTG_OS_WINDOWS
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue