From a70b4a15a6b9d3440c11ef7be92cbf1ca16cf113 Mon Sep 17 00:00:00 2001 From: Michael Jerris Date: Wed, 26 Apr 2006 17:07:39 +0000 Subject: [PATCH] silence warning on msvc C4132: 'object' : const object should be initialized This is firing when there is a prototype for a const object declared later in the file. git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1259 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/include/switch_platform.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/include/switch_platform.h b/src/include/switch_platform.h index bdeb8c287f..3b157ee272 100644 --- a/src/include/switch_platform.h +++ b/src/include/switch_platform.h @@ -64,8 +64,9 @@ extern "C" { * C4055: type cast from data pointer to function pointer (apr carries function pointers as data pointers) * C4214: nonstandard extension used : bit field types other than int * C4819: The file contains a character that cannot be represented in the current code page + * C4132: 'object' : const object should be initialized (fires innapropriately for prototyped forward declaration of cost var) */ -#pragma warning(disable:4152 4054 4100 4142 4200 4204 4706 4055 4214 4819) +#pragma warning(disable:4152 4054 4100 4142 4200 4204 4706 4055 4214 4819 4132) #if (_MSC_VER >= 1400) // VC8+ #ifndef _CRT_SECURE_NO_DEPRECATE