From 7d898e638abad8267420f8c0d827d21f716b8977 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Thu, 1 Aug 2019 14:07:00 +0200 Subject: fix clang warnings --- proto-wine/wine-shm.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'proto-wine') diff --git a/proto-wine/wine-shm.h b/proto-wine/wine-shm.h index a717dcc8..536f647f 100644 --- a/proto-wine/wine-shm.h +++ b/proto-wine/wine-shm.h @@ -3,9 +3,18 @@ #define WINE_SHM_NAME "facetracknoir-wine-shm" #define WINE_MTX_NAME "facetracknoir-wine-mtx" +#ifdef __clang__ +# pragma clang diagnostic push +# pragma clang diagnostic ignored "-Wreserved-id-macro" +#endif + // OSX sdk 10.8 build error otherwise #undef _LIBCPP_MSVCRT +#ifdef __clang__ +# pragma clang diagnostic pop +#endif + #include template using ptr = std::shared_ptr; -- cgit v1.2.3