Only in C:\Projects\bzip2\bzip2-1.0.6: build diff -urw C:\FGCVS\bzip2-1.0.6\bzip2.c C:\Projects\bzip2\bzip2-1.0.6\bzip2.c --- C:\FGCVS\bzip2-1.0.6\bzip2.c Sat Sep 11 01:04:54 2010 +++ C:\Projects\bzip2\bzip2-1.0.6\bzip2.c Mon Feb 20 14:54:31 2012 @@ -39,6 +39,9 @@ #define BZ_LCCWIN32 1 #undef BZ_UNIX #define BZ_UNIX 0 +#ifdef _MSC_VER +#pragma warning ( disable : 4996 ) // the POSIX name for this item is depreciated +#endif #endif diff -urw C:\FGCVS\bzip2-1.0.6\bzip2recover.c C:\Projects\bzip2\bzip2-1.0.6\bzip2recover.c --- C:\FGCVS\bzip2-1.0.6\bzip2recover.c Sat Sep 11 01:18:40 2010 +++ C:\Projects\bzip2\bzip2-1.0.6\bzip2recover.c Mon Feb 20 17:35:02 2012 @@ -19,6 +19,9 @@ /* This program is a complete hack and should be rewritten properly. It isn't very complicated. */ +#ifdef _MSC_VER +#pragma warning ( disable : 4996 ) // this function may be unsafe +#endif #include #include diff -urw C:\FGCVS\bzip2-1.0.6\bzlib_private.h C:\Projects\bzip2\bzip2-1.0.6\bzlib_private.h --- C:\FGCVS\bzip2-1.0.6\bzlib_private.h Sat Sep 11 00:41:56 2010 +++ C:\Projects\bzip2\bzip2-1.0.6\bzlib_private.h Mon Feb 20 14:42:11 2012 @@ -22,6 +22,10 @@ #ifndef _BZLIB_PRIVATE_H #define _BZLIB_PRIVATE_H +#ifdef _MSC_VER +#pragma warning ( disable : 4996 ) // this function may be unsafe +#endif + #include #ifndef BZ_NO_STDIO