[Cmake-commits] [cmake-commits] king committed archive_private.h 1.1 1.2
cmake-commits at cmake.org
cmake-commits at cmake.org
Wed Nov 4 13:09:43 EST 2009
Update of /cvsroot/CMake/CMake/Utilities/cmlibarchive/libarchive
In directory public:/mounts/ram/cvs-serv14807/Utilities/cmlibarchive/libarchive
Modified Files:
archive_private.h
Log Message:
libarchive: Disable MSVC warnings
We disable warnings to silence them while making minimal changes to
third-party code.
Index: archive_private.h
===================================================================
RCS file: /cvsroot/CMake/CMake/Utilities/cmlibarchive/libarchive/archive_private.h,v
retrieving revision 1.1
retrieving revision 1.2
diff -C 2 -d -r1.1 -r1.2
*** archive_private.h 30 Oct 2009 17:09:56 -0000 1.1
--- archive_private.h 4 Nov 2009 18:09:41 -0000 1.2
***************
*** 36,39 ****
--- 36,43 ----
#include "archive_string.h"
+ #if defined(_MSC_VER)
+ # pragma warning (push,1)
+ #endif
+
#if defined(__GNUC__) && (__GNUC__ > 2 || \
(__GNUC__ == 2 && __GNUC_MINOR__ >= 5))
More information about the Cmake-commits
mailing list