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
This commit is contained in:
parent
a8b7ee824d
commit
a70b4a15a6
|
@ -64,8 +64,9 @@ extern "C" {
|
||||||
* C4055: type cast from data pointer to function pointer (apr carries function pointers as data pointers)
|
* 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
|
* 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
|
* 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+
|
#if (_MSC_VER >= 1400) // VC8+
|
||||||
#ifndef _CRT_SECURE_NO_DEPRECATE
|
#ifndef _CRT_SECURE_NO_DEPRECATE
|
||||||
|
|
Loading…
Reference in New Issue