summaryrefslogtreecommitdiff
path: root/external/nss/nss.vs2015.patch
blob: c3e6b5a5acaa0645e5b76480deaac96d6bbdcaff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
diff -ru nss.org/nss/coreconf/WIN32.mk nss/nss/coreconf/WIN32.mk
--- a/nss.org/nss/coreconf/WIN32.mk	2016-02-12 15:36:18.000000000 +0100
+++ b/nss/nss/coreconf/WIN32.mk	2016-02-26 00:42:43.170809600 +0100
@@ -199,7 +199,7 @@
     # Disable C4244: conversion from 'type1' to 'type2', possible loss of data
     # Disable C4018: 'expression' : signed/unsigned mismatch
     # Disable C4312: 'type cast': conversion from 'type1' to 'type2' of greater size
-    OS_CFLAGS += -w44267 -w44244 -w44018 -w44312
+    OS_CFLAGS += -w44267 -w44244 -w44018 -w44312 -wd4996 -wd4554
     ifeq ($(_MSC_VER_GE_12),1)
 	OS_CFLAGS += -FS
     endif
--- a/nss/nss/gtests/nss_bogo_shim/nss_bogo_shim.cc	2018-08-08 11:08:42.922939267 +0200
+++ b/nss/nss/gtests/nss_bogo_shim/nss_bogo_shim.cc	2018-08-08 11:08:47.778929835 +0200
@@ -6,6 +6,7 @@
 #include "config.h"
 
 #include <algorithm>
+#include <iterator>
 #include <cstdlib>
 #include <iostream>
 #include <memory>