From: Michihiro NAKAJIMA Date: Sun, 20 Dec 2009 20:50:04 +0000 (-0500) Subject: In libarchive_test, disable the warning which Borland C compiler X-Git-Tag: v2.8.0~58 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=8b4fb509f565e22da64e5744a33787e44da547c2;p=thirdparty%2Flibarchive.git In libarchive_test, disable the warning which Borland C compiler complains "constant out of range in comparison". SVN-Revision: 1766 --- diff --git a/libarchive/test/test.h b/libarchive/test/test.h index 11c1c7833..b0e13c762 100644 --- a/libarchive/test/test.h +++ b/libarchive/test/test.h @@ -98,6 +98,10 @@ #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