[tor-commits] [tor/master] Fix build on 32-bit systems.

nickm at torproject.org nickm at torproject.org
Sat Jun 11 17:26:13 UTC 2016


commit 47edbd4fad564f0d7412ec8605f4c0846e9f1abe
Author: Nick Mathewson <nickm at torproject.org>
Date:   Sat Jun 11 13:26:05 2016 -0400

    Fix build on 32-bit systems.
---
 src/ext/ed25519/donna/ed25519-donna.h | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/src/ext/ed25519/donna/ed25519-donna.h b/src/ext/ed25519/donna/ed25519-donna.h
index 64561d3..299c8d9 100644
--- a/src/ext/ed25519/donna/ed25519-donna.h
+++ b/src/ext/ed25519/donna/ed25519-donna.h
@@ -10,6 +10,16 @@
 
 
 #include "ed25519-donna-portable.h"
+#include "orconfig.h"
+
+#ifdef HAVE_CFLAG_WOVERLENGTH_STRINGS
+/* Some of the ASM here is very long strings. */
+#ifdef __clang__
+#pragma clang diagnostic ignored "-Woverlength-strings"
+#else
+#pragma GCC diagnostic ignored "-Woverlength-strings"
+#endif
+#endif
 
 #if defined(ED25519_SSE2)
 #else



More information about the tor-commits mailing list