From 8b4fb509f565e22da64e5744a33787e44da547c2 Mon Sep 17 00:00:00 2001 From: Michihiro NAKAJIMA Date: Sun, 20 Dec 2009 15:50:04 -0500 Subject: [PATCH] In libarchive_test, disable the warning which Borland C compiler complains "constant out of range in comparison". SVN-Revision: 1766 --- libarchive/test/test.h | 4 ++++ 1 file changed, 4 insertions(+) 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 -- 2.47.3