From f5de340dccca77887b9eb88070500bf938b08163 Mon Sep 17 00:00:00 2001 From: Michael Jerris Date: Tue, 13 Feb 2007 21:38:12 +0000 Subject: [PATCH] some msvc warnings that I re-enabled came back due to messy header files in some libs. git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4242 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/mod/event_handlers/mod_zeroconf/mod_zeroconf.c | 3 +++ .../languages/mod_spidermonkey_etpan/mod_spidermonkey_etpan.c | 3 +++ src/mod/xml_int/mod_xml_rpc/mod_xml_rpc.c | 4 ++++ 3 files changed, 10 insertions(+) diff --git a/src/mod/event_handlers/mod_zeroconf/mod_zeroconf.c b/src/mod/event_handlers/mod_zeroconf/mod_zeroconf.c index 74642fe00e..bf583a2945 100644 --- a/src/mod/event_handlers/mod_zeroconf/mod_zeroconf.c +++ b/src/mod/event_handlers/mod_zeroconf/mod_zeroconf.c @@ -30,6 +30,9 @@ * */ #include +#ifdef _MSC_VER +#pragma warning(disable:4142) +#endif #include static const char modname[] = "mod_zeroconf"; diff --git a/src/mod/languages/mod_spidermonkey_etpan/mod_spidermonkey_etpan.c b/src/mod/languages/mod_spidermonkey_etpan/mod_spidermonkey_etpan.c index 1ba3fbe8e6..12f37e75ca 100644 --- a/src/mod/languages/mod_spidermonkey_etpan/mod_spidermonkey_etpan.c +++ b/src/mod/languages/mod_spidermonkey_etpan/mod_spidermonkey_etpan.c @@ -30,6 +30,9 @@ * */ #include "mod_spidermonkey.h" +#ifdef _MSC_VER +#pragma warning(disable:4142) +#endif #include static const char modname[] = "etpan"; diff --git a/src/mod/xml_int/mod_xml_rpc/mod_xml_rpc.c b/src/mod/xml_int/mod_xml_rpc/mod_xml_rpc.c index 4d6b0bf018..09d762d501 100644 --- a/src/mod/xml_int/mod_xml_rpc/mod_xml_rpc.c +++ b/src/mod/xml_int/mod_xml_rpc/mod_xml_rpc.c @@ -30,6 +30,10 @@ * */ #include +#ifdef _MSC_VER +#pragma warning(disable:4142) +#endif + #include #ifdef ABYSS_WIN32 #undef strcasecmp