From: Michael Jerris Date: Wed, 26 Apr 2006 17:07:39 +0000 (+0000) Subject: silence warning on msvc X-Git-Tag: v1.0-beta1~2786 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a70b4a15a6b9d3440c11ef7be92cbf1ca16cf113;p=thirdparty%2Ffreeswitch.git 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 --- 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