disabled some stupid warnings for VC80
This commit is contained in:
parent
a130afa54c
commit
280642c136
@ -8,6 +8,11 @@
|
|||||||
#ifndef ZCONF_H
|
#ifndef ZCONF_H
|
||||||
#define ZCONF_H
|
#define ZCONF_H
|
||||||
|
|
||||||
|
#if COMPILER == COMPILER_MICROSOFT
|
||||||
|
# pragma warning( disable : 4267 ) // conversion from 'size_t' to 'int', possible loss of data
|
||||||
|
# pragma warning( disable : 4996 ) // disable warning for "too old" functions (VC80)
|
||||||
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* If you *really* need a unique prefix for all types and library functions,
|
* If you *really* need a unique prefix for all types and library functions,
|
||||||
* compile with -DZ_PREFIX. The "standard" zlib should be compiled without it.
|
* compile with -DZ_PREFIX. The "standard" zlib should be compiled without it.
|
||||||
|
|||||||
@ -27,6 +27,10 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|||||||
#include <sys/param.h>
|
#include <sys/param.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if COMPILER == COMPILER_MICROSOFT
|
||||||
|
# pragma warning( disable : 4996 ) // disable warning for "too old" functions (VC80)
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifndef _WIN32
|
#ifndef _WIN32
|
||||||
// ----------------------------------------
|
// ----------------------------------------
|
||||||
// common unix includes / defines
|
// common unix includes / defines
|
||||||
|
|||||||
@ -42,6 +42,7 @@
|
|||||||
# pragma warning( disable : 4786 ) // identifier was truncated to '255' characters in the debug information
|
# pragma warning( disable : 4786 ) // identifier was truncated to '255' characters in the debug information
|
||||||
# pragma warning( disable : 4800 ) // conversion to bool, performance warning
|
# pragma warning( disable : 4800 ) // conversion to bool, performance warning
|
||||||
# pragma warning( disable : 4244 ) // conversion from 'uint64' to 'int16', possible loss of data
|
# pragma warning( disable : 4244 ) // conversion from 'uint64' to 'int16', possible loss of data
|
||||||
|
# pragma warning( disable : 4996 ) // disable warning for "too old" functions (VC80)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
////////////////////////////////////
|
////////////////////////////////////
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user