]> git.sur5r.net Git - cc65/commitdiff
Allow for warning-free build of cl65 with MS VC on warning level 3.
authorOliver Schmidt <ol.sc@web.de>
Tue, 9 Apr 2013 21:32:18 +0000 (23:32 +0200)
committerOliver Schmidt <ol.sc@web.de>
Tue, 9 Apr 2013 21:32:18 +0000 (23:32 +0200)
src/cl65/main.c

index d20f1a2becb51f75038bec95a9da0f274571f565..53adb4547934740d46510887291048aa6f729e4c 100644 (file)
@@ -41,7 +41,9 @@
 #else
 #  define NEED_SPAWN   1
 #endif
-
+#if defined(_MSC_VER)
+#  pragma warning(disable : 4996)
+#endif
 
 
 #include <stdio.h>