mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-05-10 04:30:12 +02:00
Silence new ignored attributes warning
This commit is contained in:
@@ -110,11 +110,17 @@ struct ClapPluginInstance {
|
|||||||
*/
|
*/
|
||||||
std::optional<Editor> editor;
|
std::optional<Editor> editor;
|
||||||
|
|
||||||
|
// FIXME: This emits `-Wignored-attributes` as of Wine 5.22
|
||||||
|
#pragma GCC diagnostic push
|
||||||
|
#pragma GCC diagnostic ignored "-Wignored-attributes"
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The plugin object. The plugin gets destroyed together with this struct.
|
* The plugin object. The plugin gets destroyed together with this struct.
|
||||||
*/
|
*/
|
||||||
std::unique_ptr<const clap_plugin, decltype(clap_plugin::destroy)> plugin;
|
std::unique_ptr<const clap_plugin, decltype(clap_plugin::destroy)> plugin;
|
||||||
|
|
||||||
|
#pragma GCC diagnostic pop
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Contains the plugin's supported extensions. Initialized after the host
|
* Contains the plugin's supported extensions. Initialized after the host
|
||||||
* calls `clap_plugin::init()`.
|
* calls `clap_plugin::init()`.
|
||||||
|
|||||||
Reference in New Issue
Block a user