We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5e536bc commit 0092988Copy full SHA for 0092988
src/engine/qcommon/crypto.h
@@ -27,10 +27,14 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
27
#include "q_shared.h"
28
#include "qcommon.h"
29
30
+/* The Nettle headers include the GMP header, this disables the warning
31
+on GMP alone, not the whole Nettle. We don't use GMP directly ourselves. */
32
+#if defined(_MSC_VER)
33
#pragma warning(push)
34
#pragma warning(disable : 4146) // "unary minus operator applied to unsigned type, result still unsigned"
35
#include <gmp.h>
36
#pragma warning(pop)
37
+#endif
38
39
#include <nettle/bignum.h>
40
#include <nettle/rsa.h>
0 commit comments