From e5a48ea03141060c39c46172c6aa87e26dbb4fb7 Mon Sep 17 00:00:00 2001 From: Brad King Date: Fri, 16 Jan 2004 09:51:24 -0500 Subject: [PATCH] ERR: Disabling some borland warnings. --- Source/CTest/Curl/setup.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Source/CTest/Curl/setup.h b/Source/CTest/Curl/setup.h index 0f6a4950e..e10206efc 100644 --- a/Source/CTest/Curl/setup.h +++ b/Source/CTest/Curl/setup.h @@ -133,6 +133,10 @@ defined(HAVE_LIBSSL) && defined(HAVE_LIBCRYPTO) #pragma warning ( disable : 4312 ) /* Allow cast from long to char* */ struct _RPC_ASYNC_STATE; #endif +/* Disable unnecessary warnings on Borland */ +#ifdef __BORLANDC__ +#pragma warn -8004 +#endif #if !defined(__GNUC__) || defined(__MINGW32__) #define sclose(x) closesocket(x) #define sread(x,y,z) recv(x,y,z,0)