From 2f94539545b176a7dc2981b1a932b8428e33eaa7 Mon Sep 17 00:00:00 2001
From: gumi <git@gumi.ca>
Date: Thu, 10 Jan 2019 18:30:38 -0500
Subject: drop support for gcc-5, gcc-6, clang-4, clang-5 in travis and fix
 some misc issues

---
 src/io/cxxstdio.hpp | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

(limited to 'src/io')

diff --git a/src/io/cxxstdio.hpp b/src/io/cxxstdio.hpp
index 7312382..08c9a53 100644
--- a/src/io/cxxstdio.hpp
+++ b/src/io/cxxstdio.hpp
@@ -81,14 +81,14 @@ namespace cxxstdio
         }
     };
 
-#define XPRINTF(out, fmt, ...)                                              \
-    ({                                                                      \
-        struct format_impl                                                  \
-        {                                                                   \
-            constexpr static                                                \
-            FormatString print_format() { return fmt; }                     \
-        };                                                                  \
-        cxxstdio::PrintFormatter<format_impl>::print(out, ## __VA_ARGS__);  \
+#define XPRINTF(out, fmt, ...)                                                      \
+    ({                                                                              \
+        struct format_impl                                                          \
+        {                                                                           \
+            constexpr static                                                        \
+            FormatString print_format() __asm__("_print_format") { return fmt; }    \
+        };                                                                          \
+        cxxstdio::PrintFormatter<format_impl>::print(out, ## __VA_ARGS__);          \
     })
 
 #define FPRINTF(file, fmt, ...)     XPRINTF(/*no_cast<FILE *>*/(file), fmt, ## __VA_ARGS__)
-- 
cgit v1.2.3-70-g09d2