You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by sa...@apache.org on 2005/10/12 10:23:47 UTC

svn commit: r314821 - in /webservices/axis2/trunk/c: configure configure.ac include/axis2_error.h modules/common/src/axis2_error.c modules/xml/om/src/axis2_om_text.c

Author: samisa
Date: Wed Oct 12 01:23:35 2005
New Revision: 314821

URL: http://svn.apache.org/viewcvs?rev=314821&view=rev
Log:
Fixes towards system build platform

Modified:
    webservices/axis2/trunk/c/configure
    webservices/axis2/trunk/c/configure.ac
    webservices/axis2/trunk/c/include/axis2_error.h
    webservices/axis2/trunk/c/modules/common/src/axis2_error.c
    webservices/axis2/trunk/c/modules/xml/om/src/axis2_om_text.c

Modified: webservices/axis2/trunk/c/configure
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/configure?rev=314821&r1=314820&r2=314821&view=diff
==============================================================================
--- webservices/axis2/trunk/c/configure (original)
+++ webservices/axis2/trunk/c/configure Wed Oct 12 01:23:35 2005
@@ -19614,7 +19614,7 @@
 
 # Checks for libraries.
 
-CFLAGS="$CFLAGS -ansi -D_GNU_SOURCE -Wall -Wmissing-prototypes -Wstrict-prototypes -D_LARGEFILE64_SOURCE -g"
+CFLAGS="$CFLAGS -ansi -Wall -D_LARGEFILE64_SOURCE -g"
 #CFLAGS="$CFLAGS -Wall -ansi -Wshadow -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -g -O2 -pthread"
 LDFLAGS="$LDFLAGS -L${CUTEST_HOME}/lib/ -lcutest -L${APR_HOME}/lib -lapr-1"
 # Checks for header files.

Modified: webservices/axis2/trunk/c/configure.ac
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/configure.ac?rev=314821&r1=314820&r2=314821&view=diff
==============================================================================
--- webservices/axis2/trunk/c/configure.ac (original)
+++ webservices/axis2/trunk/c/configure.ac Wed Oct 12 01:23:35 2005
@@ -14,7 +14,7 @@
 
 # Checks for libraries.
 
-CFLAGS="$CFLAGS -ansi -D_GNU_SOURCE -Wall -Wmissing-prototypes -Wstrict-prototypes -D_LARGEFILE64_SOURCE -g"
+CFLAGS="$CFLAGS -ansi -Wall -D_LARGEFILE64_SOURCE -g"
 #CFLAGS="$CFLAGS -Wall -ansi -Wshadow -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -g -O2 -pthread"
 LDFLAGS="$LDFLAGS -L${CUTEST_HOME}/lib/ -lcutest -L${APR_HOME}/lib -lapr-1"
 # Checks for header files.

Modified: webservices/axis2/trunk/c/include/axis2_error.h
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/include/axis2_error.h?rev=314821&r1=314820&r2=314821&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_error.h (original)
+++ webservices/axis2/trunk/c/include/axis2_error.h Wed Oct 12 01:23:35 2005
@@ -17,6 +17,7 @@
 #ifndef AXIS2_ERROR_H
 #define AXIS2_ERROR_H
 
+#include <axis2_defines.h>
 #include <axis2_allocator.h>
 
 struct axis2_error;

Modified: webservices/axis2/trunk/c/modules/common/src/axis2_error.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/common/src/axis2_error.c?rev=314821&r1=314820&r2=314821&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/common/src/axis2_error.c (original)
+++ webservices/axis2/trunk/c/modules/common/src/axis2_error.c Wed Oct 12 01:23:35 2005
@@ -16,8 +16,9 @@
 
 #include <axis2_error.h>
 
+axis2_char *axis2_error_ops_get_message();
 
-axis2_char* axis2_error_ops_get_message()
+axis2_char *axis2_error_ops_get_message()
 {
     return "This is the default error code";
 }
@@ -44,5 +45,3 @@
     
     return error;
 }
-
-

Modified: webservices/axis2/trunk/c/modules/xml/om/src/axis2_om_text.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/xml/om/src/axis2_om_text.c?rev=314821&r1=314820&r2=314821&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/xml/om/src/axis2_om_text.c (original)
+++ webservices/axis2/trunk/c/modules/xml/om/src/axis2_om_text.c Wed Oct 12 01:23:35 2005
@@ -17,6 +17,7 @@
 #include <axis2_om_text.h>
 /*#include <string.h>
 #include <axis2_om_node.h>
+#include <axis2_om_output.h>
 #include <axis2_errno.h>
 */
 
@@ -56,7 +57,7 @@
     if (value)
         om_text->value = (axis2_char*) axis2_strdup(environment->allocator, value);
     
-    //om_text->attribute = NULL;
+    /* om_text->attribute = NULL; */
     om_text->content_id = NULL;
     om_text->mime_type = NULL;
     
@@ -113,7 +114,7 @@
 int axis2_om_text_ops_serialize(axis2_environment_t *environment, const axis2_om_text_t *om_text, axis2_om_output_t* om_output)
 {
     int status = AXIS2_SUCCESS;
-    // TODO : handle null pointer errors
+    /* TODO : handle null pointer errors */
     if (om_text->value)
         status = axis2_om_output_write (om_output, AXIS2_OM_TEXT, 1,
                                         om_text->value);