diff options
author | Brad King <brad.king@kitware.com> | 2004-01-16 14:51:24 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2004-01-16 14:51:24 (GMT) |
commit | e5a48ea03141060c39c46172c6aa87e26dbb4fb7 (patch) | |
tree | a8a1dd642dc04f01762b29ba7eb72c238c26e877 /Source/CTest | |
parent | f687b3d4a2ce92bea1b24f9ff65338ca43e42679 (diff) | |
download | CMake-e5a48ea03141060c39c46172c6aa87e26dbb4fb7.zip CMake-e5a48ea03141060c39c46172c6aa87e26dbb4fb7.tar.gz CMake-e5a48ea03141060c39c46172c6aa87e26dbb4fb7.tar.bz2 |
ERR: Disabling some borland warnings.
Diffstat (limited to 'Source/CTest')
-rw-r--r-- | Source/CTest/Curl/setup.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/CTest/Curl/setup.h b/Source/CTest/Curl/setup.h index 0f6a495..e10206e 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) |