mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-17 06:48:33 +00:00
FS-7966. First pass at moving to Visual Studio 2015.
The new C compiler breaks a lot of things. snprintf and timespec now exist, and redefining causes an error. Many more things are warnings, so warnings-as-errors will fail - remove it from some projects for now. V8: don't pass VS version to build batch file. mod_sofia: Config has too-long if/elseif chain. Break this up to avoid "parser stack overflow; program too complex". Add mod_conference.h to project and dir to includes.
This commit is contained in:
1 parent
fb5b390ce3
commit
5e456fe9a6
222 files changed
+43058
-8
No files matched your search
@@ -27,6 +27,12 @@
|
||||
#include "apt_text_stream.h"
|
||||
#include "apt_log.h"
|
||||
|
||||
#if _MSC_VER >= 1900
|
||||
#pragma warning(disable: 4477)
|
||||
// 'snprintf' : format string '%d' requires an argument of type 'int', but variadic argument 1 has type 'apr_size_t' 264
|
||||
// 'snprintf' : format string '%d' requires an argument of type 'int', but variadic argument 1 has type 'const apr_size_t' 198
|
||||
#endif
|
||||
|
||||
static apr_size_t sdp_rtp_media_generate(char *buffer, apr_size_t size, const mrcp_session_descriptor_t *descriptor, const mpf_rtp_media_descriptor_t *audio_descriptor);
|
||||
static apr_size_t sdp_control_media_generate(char *buffer, apr_size_t size, const mrcp_session_descriptor_t *descriptor, const mrcp_control_descriptor_t *control_media, apt_bool_t offer);
|
||||
|
||||
|
||||
Reference in new issue
Block a user