From 570c30337b9ced6d4541259feed3a2c1b4ae31be Mon Sep 17 00:00:00 2001 From: Michael Carlberg Date: Thu, 1 Dec 2016 13:11:55 +0100 Subject: [PATCH] fix(cmake): Add legacy pragma Ref #208 --- include/x11/xkb.hpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/x11/xkb.hpp b/include/x11/xkb.hpp index 2ae9623d..4a1b9b90 100644 --- a/include/x11/xkb.hpp +++ b/include/x11/xkb.hpp @@ -8,6 +8,8 @@ #if defined(__clang__) #pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wunknown-pragmas" +#pragma clang diagnostic ignored "-Wreserved-id-macro" #pragma clang diagnostic ignored "-Wkeyword-macro" #endif #define explicit mask_cxx_explicit_keyword