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
-3
View File
@@ -240,12 +240,9 @@ class WineXdndProxy {
*/
X11Window proxy_window_;
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wignored-attributes"
std::unique_ptr<std::remove_pointer_t<HWINEVENTHOOK>,
std::decay_t<decltype(&UnhookWinEvent)>>
hook_handle_;
#pragma GCC diagnostic pop
/**
* MT-PowerDrumkit for some reason initializes a drag-and-drop operation,