]> git.ipfire.org Git - thirdparty/libarchive.git/commitdiff
Add stricter warning option to Visual Studio.
authorMichihiro NAKAJIMA <ggcueroad@gmail.com>
Tue, 17 Feb 2009 06:04:44 +0000 (01:04 -0500)
committerMichihiro NAKAJIMA <ggcueroad@gmail.com>
Tue, 17 Feb 2009 06:04:44 +0000 (01:04 -0500)
SVN-Revision: 652

libarchive/archive_windows.h

index fc95d58bc08a07d88f0213c8735c5dc33befaf2c..0b060a9eac694c1b06e2fa59b1749be7b7709b1b 100644 (file)
@@ -62,6 +62,9 @@
 #pragma warning(disable:4244)   /* 'conversion' conversion from 'type1' to 'type2', possible loss of data */
 #pragma warning(disable:4146)   /* unary minus operator applied to unsigned type, result still unsigned */
 //#pragma warning(disable:4267)   /* Conversion, possible loss of data */
+#pragma warning(default: 4061)  /* The enumerate has no associated handler in a switch statement */
+#pragma warning(default: 4296)  /* An unsigned variable was used in a comparison operation with zero */ 
+#pragma warning(default: 4365)  /* 'action':conversion from 'type_1' to 'type_2', signed/unsigned mismatch */
 #endif
 
 #ifndef NULL