[Freeswitch-svn] [commit] r6250 - freeswitch/trunk/src/mod/asr_tts/mod_openmrcp

Freeswitch SVN mikej at freeswitch.org
Tue Nov 13 18:12:34 EST 2007


Author: mikej
Date: Tue Nov 13 18:12:34 2007
New Revision: 6250

Modified:
   freeswitch/trunk/src/mod/asr_tts/mod_openmrcp/Makefile
   freeswitch/trunk/src/mod/asr_tts/mod_openmrcp/mod_openmrcp.c

Log:
fix sun studio build

Modified: freeswitch/trunk/src/mod/asr_tts/mod_openmrcp/Makefile
==============================================================================
--- freeswitch/trunk/src/mod/asr_tts/mod_openmrcp/Makefile	(original)
+++ freeswitch/trunk/src/mod/asr_tts/mod_openmrcp/Makefile	Tue Nov 13 18:12:34 2007
@@ -13,8 +13,9 @@
 MRCP_APR_INCLUDES =  -I../../../../libs/apr/include
 MRCP_APU_INCLUDES =  -I../../../../libs/apr-util/include
 
-LOCAL_CFLAGS= -Wno-unused
-LOCAL_CFLAGS+= -Wno-comment -Wno-sign-compare $(OPENMRCP_INCLUDE) $(MRCP_APR_INCLUDES) $(MRCP_APU_INCLUDES) 
+#do not specify gcc specific compiler flags
+#LOCAL_CFLAGS= -Wno-unused -Wno-comment -Wno-sign-compare
+LOCAL_CFLAGS= $(OPENMRCP_INCLUDE) $(MRCP_APR_INCLUDES) $(MRCP_APU_INCLUDES) 
 
 LOCAL_LIBADD=$(OPENMRCP_LIBS)
 

Modified: freeswitch/trunk/src/mod/asr_tts/mod_openmrcp/mod_openmrcp.c
==============================================================================
--- freeswitch/trunk/src/mod/asr_tts/mod_openmrcp/mod_openmrcp.c	(original)
+++ freeswitch/trunk/src/mod/asr_tts/mod_openmrcp/mod_openmrcp.c	Tue Nov 13 18:12:34 2007
@@ -56,6 +56,7 @@
 #pragma warning (disable:188)
 #endif
 
+#include <switch.h>
 
 #include "openmrcp_client.h"
 #include "mrcp_client_context.h"
@@ -63,7 +64,6 @@
 #include "mrcp_synthesizer.h"
 #include "mrcp_generic_header.h"
 
-#include <switch.h>
 	
 SWITCH_MODULE_LOAD_FUNCTION(mod_openmrcp_load);
 SWITCH_MODULE_SHUTDOWN_FUNCTION(mod_openmrcp_shutdown);



More information about the Freeswitch-svn mailing list