From: Oliver Schmidt Date: Tue, 9 Apr 2013 21:32:18 +0000 (+0200) Subject: Allow for warning-free build of cl65 with MS VC on warning level 3. X-Git-Tag: V2.14~65 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=97d2d92fb5b6b2235c7f5d4e680e37bfa57540eb;p=cc65 Allow for warning-free build of cl65 with MS VC on warning level 3. --- diff --git a/src/cl65/main.c b/src/cl65/main.c index d20f1a2be..53adb4547 100644 --- a/src/cl65/main.c +++ b/src/cl65/main.c @@ -41,7 +41,9 @@ #else # define NEED_SPAWN 1 #endif - +#if defined(_MSC_VER) +# pragma warning(disable : 4996) +#endif #include