diff options
author | Daniel Stenberg <daniel@haxx.se> | 2004-03-10 07:04:31 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2004-03-10 07:04:31 +0000 |
commit | 0d1f80ccb508460788f371b64f1d7b0da99e9e8b (patch) | |
tree | 3e6282608fd6d3f7dc98cd459deecc1009a10bcc | |
parent | 4e87dd89bf11619d8fbc10b08b8628cf66bdc330 (diff) |
removed the #if 0'ed pragmas that disable warnings on msvc
-rw-r--r-- | lib/config-win32.h | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/lib/config-win32.h b/lib/config-win32.h index 771f65d9b..c734d7c48 100644 --- a/lib/config-win32.h +++ b/lib/config-win32.h @@ -229,31 +229,3 @@ #define HAVE_UNISTD_H 1 #endif - -/************************************************** - *This is to eliminate the warnings when compiled * - * using MS VC++ compiler * - **************************************************/ -#if 0 - -#pragma warning (disable: 4244) /* truncation from 'const int' to 'char' */ -#pragma warning (disable: 4127) /* conditional expression is constant */ -#pragma warning (disable: 4706) /* assignment within conditional expression */ -#pragma warning (disable: 4761) /* integral size mismatch in argument */ -#pragma warning (disable: 4101) /* unreferenced local variable */ -#pragma warning (disable: 4131) /* uses old-style declarator */ -#pragma warning (disable: 4057) /* const char *' differs in indirection to - slightly different base types from - 'unsigned char [x] */ -#pragma warning (disable: 4100) /* unreferenced formal parameter */ -#pragma warning (disable: 4055) /* type cast' : from data pointer 'void *' to - function pointer - 'void *(__cdecl *)(char *,int ) */ -#pragma warning (disable: 4701) /* local variable may be used without having - been initialized */ -#pragma warning (disable: 4715) /* ToHour' : not all control paths return a - value */ -#pragma warning (disable: 4115) /* warning C4115: '_RPC_ASYNC_STATE' : named - type definition in parentheses */ -#pragma warning (disable: 4206) /* this does what? */ -#endif |