steinbergmedia / vst3_pluginterfaces

VST 3 API
Other
24 stars 18 forks source link

Use C11's _Alignas instead of #pragma pack #9

Closed WalterBright closed 2 years ago

WalterBright commented 2 years ago

Files like:

https://github.com/steinbergmedia/vst3_pluginterfaces/blob/b8566ef3b2a0cba60a96e3ef2001224c865c8b36/base/falignpush.h

rely on #pragma pack which is obsolete.

scheffle commented 2 years ago

We still need to support compilers which do not support C11. But we will reconsider this change if we can drop these compilers.

WalterBright commented 2 years ago

There's a predefined macro for C11 which can be used to provide an alternate path to support obsolete compilers.