Commit afdf2776 authored by Luca Boccassi's avatar Luca Boccassi

Merge pull request #1817 from hintjens/master

Problem: tweetnacl gives many warnings on MSVC
parents 325eb693 8ae3671e
......@@ -30,7 +30,13 @@
#include "platform.hpp"
#if defined (ZMQ_USE_TWEETNACL)
#pragma GCC diagnostic ignored "-Wsign-compare"
// Disable warnings for this source only, rather than for the whole
// codebase
#ifdef __GNUC__
# pragma GCC diagnostic ignored "-Wsign-compare"
#elif defined _MSC_VER
# pragma warning (disable:4018 4244 4146)
#endif
#include "tweetnacl.h"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment