]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
silence warning on msvc
authorMichael Jerris <mike@jerris.com>
Wed, 26 Apr 2006 17:07:39 +0000 (17:07 +0000)
committerMichael Jerris <mike@jerris.com>
Wed, 26 Apr 2006 17:07:39 +0000 (17:07 +0000)
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

index bdeb8c287fb1f19966066ad965c272930cc0f5bd..3b157ee2728efe6a94a6d48e3ec7217b84dfa253 100644 (file)
@@ -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