mirror of
https://github.com/zeromq/libzmq.git
synced 2025-03-10 07:56:09 +00:00
Merge pull request #1817 from hintjens/master
Problem: tweetnacl gives many warnings on MSVC
This commit is contained in:
commit
afdf27765e
@ -30,7 +30,13 @@
|
|||||||
#include "platform.hpp"
|
#include "platform.hpp"
|
||||||
#if defined (ZMQ_USE_TWEETNACL)
|
#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"
|
#include "tweetnacl.h"
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user