mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-07-23 12:42:02 +00:00
fix more msvc warnings.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@636 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
@@ -384,6 +384,7 @@ typedef apr_socket_t switch_socket_t;
|
||||
/** Freeswitch's socket address type, used to ensure protocol independence */
|
||||
typedef apr_sockaddr_t switch_sockaddr_t;
|
||||
|
||||
typedef apr_port_t switch_port_t;
|
||||
/* function definitions */
|
||||
|
||||
/**
|
||||
|
||||
@@ -39,7 +39,9 @@ extern "C" {
|
||||
#endif
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#pragma warning(disable:4152 4054 4100)
|
||||
// C4200 Non standard extension C zero sized array
|
||||
// C4204: nonstandard extension used : non-constant aggregate initializer
|
||||
#pragma warning(disable:4152 4054 4100 4142 4200 4204)
|
||||
#endif
|
||||
|
||||
#if (_MSC_VER >= 1400) // VC8+
|
||||
|
||||
Reference in New Issue
Block a user