Win: avoid warning when using boost::split
authorAdam Dickmeiss <adam@indexdata.dk>
Mon, 25 Nov 2013 09:59:13 +0000 (10:59 +0100)
committerAdam Dickmeiss <adam@indexdata.dk>
Mon, 25 Nov 2013 09:59:13 +0000 (10:59 +0100)
Done by defining _SCL_SECURE_NO_WARNINGS for Visual Studio.

win/makefile

index 3b8a9d2..0815768 100644 (file)
@@ -141,6 +141,7 @@ LIBXSLT_LIB = \
 COMMON_C_OPTIONS=          \
   /nologo /W3 /EHsc /FD /c \
   /D "_CRT_SECURE_NO_DEPRECATE" \
+  /D _SCL_SECURE_NO_WARNINGS \
   $(YAZ_DEF)               \
   $(YAZPP_DEF)             \
   $(BOOST_DEF)             \