Globally ignore attribute warnings on Wine side

These started happening after Wine 5.12, and it doesn't look like it's
going to change.
This commit is contained in:
Robbert van der Helm
2022-09-05 16:22:36 +02:00
parent 6098ebc778
commit 9cea175f2a
6 changed files with 5 additions and 30 deletions
-6
View File
@@ -183,18 +183,12 @@ class Vst2Bridge : public HostBridge {
*/
ScopedValueCache<int> process_level_cache_;
// FIXME: This emits `-Wignored-attributes` as of Wine 5.22
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wignored-attributes"
/**
* The shared library handle of the VST2 plugin.
*/
std::unique_ptr<std::remove_pointer_t<HMODULE>, decltype(&FreeLibrary)>
plugin_handle_;
#pragma GCC diagnostic pop
/**
* The loaded plugin's `AEffect` struct, obtained using the above library
* handle.