Commit 56eb01b7 authored by Sean McBride's avatar Sean McBride
Browse files

BUG: 5445: restored necessary warning suppression for MS compiler, made the...

BUG: 5445: restored necessary warning suppression for MS compiler, made the CMakeLists.txt better match the ITK version
parent ac247386
PROJECT(VTKZLIB)
INCLUDE_REGULAR_EXPRESSION("^(vtk|deflate|inf|trees|zconf|zlib|zutil).*$")
INCLUDE_DIRECTORIES(${VTKZLIB_SOURCE_DIR})
INCLUDE_DIRECTORIES(BEFORE ${VTKZLIB_SOURCE_DIR})
# source files for zlib
SET(ZLIB_SRCS
......
......@@ -339,7 +339,7 @@ typedef uLong FAR uLongf;
/* KITWARE_ZLIB_CHANGE - Added to suppress complier warnings */
#if defined(_MSC_VER)
/*#pragma warning ( disable : 4100 ) unreferenced variable */
/*#pragma warning ( disable : 4127 ) cond expr is constant */
#pragma warning ( disable : 4127 ) /* cond expr is constant */
#pragma warning ( disable : 4131 ) /* old style declaration */
#pragma warning ( disable : 4244 ) /* conversion loss of data */
/*#pragma warning ( disable : 4267 ) conversion from 'size_t' to 'int', possible loss of data */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment