From 4bbfd73825b1cb6a27e19ea518ad0bed7c806b6c Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sun, 1 Nov 2015 08:47:42 +0100 Subject: shm: ignore diagnostic for Wine build --- opentrack-compat/shm.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'opentrack-compat') diff --git a/opentrack-compat/shm.h b/opentrack-compat/shm.h index 53248ac6..c74534e7 100644 --- a/opentrack-compat/shm.h +++ b/opentrack-compat/shm.h @@ -19,6 +19,9 @@ #include #endif +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wattributes" + #ifdef __GNUC__ # define COMPAT_GNUC_VISIBILITY __attribute__ ((visibility ("default"))) #else @@ -57,3 +60,5 @@ private: int fd, size; #endif }; + +#pragma GCC diagnostic pop -- cgit v1.2.3