diff options
Diffstat (limited to 'X11/xtrans/transport.c')
-rw-r--r-- | X11/xtrans/transport.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/X11/xtrans/transport.c b/X11/xtrans/transport.c index 35b8b202a..246a7e2a1 100644 --- a/X11/xtrans/transport.c +++ b/X11/xtrans/transport.c @@ -55,6 +55,12 @@ from The Open Group. #include "Xtransint.h"
+#ifdef __clang__
+#pragma clang diagnostic push
+#pragma clang diagnostic ignored "-Wformat-nonliteral"
+#pragma clang diagnostic ignored "-Wdeprecated-declarations"
+#endif
+
#ifdef LOCALCONN
#include "Xtranslcl.c"
#endif
@@ -66,3 +72,7 @@ from The Open Group. #endif
#include "Xtrans.c"
#include "Xtransutil.c"
+
+#ifdef __clang__
+#pragma clang diagnostic pop
+#endif
|