[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-stable] [PULL 11/13] configure: Don't use __int128_t for clang ver
From: |
Michael Tokarev |
Subject: |
[Qemu-stable] [PULL 11/13] configure: Don't use __int128_t for clang versions before 3.2 |
Date: |
Sat, 15 Mar 2014 13:56:57 +0400 |
From: Stefan Weil <address@hidden>
Those versions don't fully support __int128_t.
Cc: address@hidden
Signed-off-by: Stefan Weil <address@hidden>
Signed-off-by: Michael Tokarev <address@hidden>
---
configure | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/configure b/configure
index 8c2838e..2bc6b77 100755
--- a/configure
+++ b/configure
@@ -3822,6 +3822,11 @@ fi
int128=no
cat > $TMPC << EOF
+#if defined(__clang_major__) && defined(__clang_minor__)
+# if ((__clang_major__ < 3) || (__clang_major__ == 3) && (__clang_minor__ < 2))
+# error __int128_t does not work in CLANG before 3.2
+# endif
+#endif
__int128_t a;
__uint128_t b;
int main (void) {
--
1.7.10.4
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-stable] [PULL 11/13] configure: Don't use __int128_t for clang versions before 3.2,
Michael Tokarev <=