]> git.ipfire.org Git - thirdparty/libarchive.git/commitdiff
In libarchive_test, disable the warning which Borland C compiler
authorMichihiro NAKAJIMA <ggcueroad@gmail.com>
Sun, 20 Dec 2009 20:50:04 +0000 (15:50 -0500)
committerMichihiro NAKAJIMA <ggcueroad@gmail.com>
Sun, 20 Dec 2009 20:50:04 +0000 (15:50 -0500)
complains "constant out of range in comparison".

SVN-Revision: 1766

libarchive/test/test.h

index 11c1c7833679bbef148778b6ddc83c3baef08860..b0e13c7629fecccb8c88f8d837927e85d8e2f8fa 100644 (file)
 #define snprintf       sprintf_s
 #endif
 
+#if defined(__BORLANDC__)
+#pragma warn -8068     /* Constant out of range in comparison. */
+#endif
+
 /* Cygwin */
 #if defined(__CYGWIN__)
 /* Cygwin-1.7.x is lazy about populating nlinks, so don't