From 6681bcf08cbac37a24fc9592c849ef34a3434a89 Mon Sep 17 00:00:00 2001 From: Luca Boccassi Date: Mon, 8 Feb 2016 12:29:44 +0000 Subject: [PATCH] Problem: tweetnacl/contrib/randombytes need C++0x Solution: disable -pedantic when building with tweetnacl to avoid warning about "long long" not existing in ISO C++ 98 --- configure.ac | 1 + 1 file changed, 1 insertion(+) diff --git a/configure.ac b/configure.ac index b3455e21..2c1af188 100644 --- a/configure.ac +++ b/configure.ac @@ -470,6 +470,7 @@ if test "x$have_sodium_library" != "xno"; then elif test "x$with_tweetnacl" != "xno"; then AC_DEFINE(HAVE_LIBSODIUM, 1, [Sodium is provided by tweetnacl.]) AC_DEFINE(HAVE_TWEETNACL, 1, [Using tweetnacl.]) + libzmq_pedantic="no" fi AM_CONDITIONAL(HAVE_SODIUM, test "x$have_sodium_library" != "xno")