[Cmake-commits] [cmake-commits] hoffman committed archive_windows.h 1.4 1.5
cmake-commits at cmake.org
cmake-commits at cmake.org
Sun Nov 8 15:10:36 EST 2009
Update of /cvsroot/CMake/CMake/Utilities/cmlibarchive/libarchive
In directory public:/mounts/ram/cvs-serv8490/libarchive
Modified Files:
archive_windows.h
Log Message:
remove a few more windows warnings
Index: archive_windows.h
===================================================================
RCS file: /cvsroot/CMake/CMake/Utilities/cmlibarchive/libarchive/archive_windows.h,v
retrieving revision 1.4
retrieving revision 1.5
diff -C 2 -d -r1.4 -r1.5
*** archive_windows.h 4 Nov 2009 21:06:17 -0000 1.4
--- archive_windows.h 8 Nov 2009 20:10:34 -0000 1.5
***************
*** 79,84 ****
#if defined(_MSC_VER)
/* TODO: Fix the code, don't suppress the warnings. */
! #pragma warning(disable:4244) /* 'conversion' conversion from 'type1' to 'type2', possible loss of data */
#pragma warning(default: 4365) /* 'action':conversion from 'type_1' to 'type_2', signed/unsigned mismatch */
#endif
--- 79,89 ----
#if defined(_MSC_VER)
/* TODO: Fix the code, don't suppress the warnings. */
! #pragma warning(disable:4761) /* 'conversion' conversion from 'type1' to 'type2', possible loss of data */
! /* this one shows up on vs 6 */
! # if _MSC_VER < 1300
! # pragma warning(disable:4244) /* 'integral size mismatch in argument; conversion supplied */
! # endif
#pragma warning(default: 4365) /* 'action':conversion from 'type_1' to 'type_2', signed/unsigned mismatch */
+ #pragma warning(disable: 4244) /* conversion from '__int64' to 'off_t', possible loss of data */
#endif
More information about the Cmake-commits
mailing list