You are viewing a plain text version of this content. The canonical link for it is here.
Posted to sandesha-dev@ws.apache.org by da...@apache.org on 2008/06/13 22:47:12 UTC

svn commit: r667648 - in /webservices/sandesha/trunk/c: ./ samples/ samples/rm_echo_1_0/ samples/rm_echo_1_0_large_sequence/ samples/rm_echo_1_1/ samples/rm_echo_single_1_0_large_sequence/ samples/rm_ping_1_0/ samples/rm_ping_1_0_large_sequence/ src/st...

Author: damitha
Date: Fri Jun 13 13:47:12 2008
New Revision: 667648

URL: http://svn.apache.org/viewvc?rev=667648&view=rev
Log:
Removing warnings

Modified:
    webservices/sandesha/trunk/c/configure.ac
    webservices/sandesha/trunk/c/samples/configure.ac
    webservices/sandesha/trunk/c/samples/rm_echo_1_0/rm_echo.c
    webservices/sandesha/trunk/c/samples/rm_echo_1_0_large_sequence/rm_echo.c
    webservices/sandesha/trunk/c/samples/rm_echo_1_1/rm_echo_1_1.c
    webservices/sandesha/trunk/c/samples/rm_echo_single_1_0_large_sequence/rm_echo_single.c
    webservices/sandesha/trunk/c/samples/rm_ping_1_0/rm_ping_1_0.c
    webservices/sandesha/trunk/c/samples/rm_ping_1_0_large_sequence/rm_ping_1_0.c
    webservices/sandesha/trunk/c/src/storage/sqlite/sqlite3.c

Modified: webservices/sandesha/trunk/c/configure.ac
URL: http://svn.apache.org/viewvc/webservices/sandesha/trunk/c/configure.ac?rev=667648&r1=667647&r2=667648&view=diff
==============================================================================
--- webservices/sandesha/trunk/c/configure.ac (original)
+++ webservices/sandesha/trunk/c/configure.ac Fri Jun 13 13:47:12 2008
@@ -21,7 +21,7 @@
 
 CFLAGS="$CFLAGS -D_LARGEFILE64_SOURCE"
 if test "$GCC" = "yes"; then
-    CFLAGS="$CFLAGS -ansi -Wall -Wno-implicit-function-declaration -g"
+    CFLAGS="$CFLAGS -ansi -Wall -Wno-implicit-function-declaration -g -Werror"
 fi
 LDFLAGS="-lpthread"
 

Modified: webservices/sandesha/trunk/c/samples/configure.ac
URL: http://svn.apache.org/viewvc/webservices/sandesha/trunk/c/samples/configure.ac?rev=667648&r1=667647&r2=667648&view=diff
==============================================================================
--- webservices/sandesha/trunk/c/samples/configure.ac (original)
+++ webservices/sandesha/trunk/c/samples/configure.ac Fri Jun 13 13:47:12 2008
@@ -22,7 +22,7 @@
 dnl Checks for libraries.
 AC_CHECK_LIB(dl, dlopen)
 
-CFLAGS="$CFLAGS -ansi -Wall -D_LARGEFILE64_SOURCE"
+CFLAGS="$CFLAGS -ansi -Wall -D_LARGEFILE64_SOURCE -Werror"
 LDFLAGS="-L$AXIS2C_HOME/lib -lpthread"
 
 dnl Checks for header files.

Modified: webservices/sandesha/trunk/c/samples/rm_echo_1_0/rm_echo.c
URL: http://svn.apache.org/viewvc/webservices/sandesha/trunk/c/samples/rm_echo_1_0/rm_echo.c?rev=667648&r1=667647&r2=667648&view=diff
==============================================================================
--- webservices/sandesha/trunk/c/samples/rm_echo_1_0/rm_echo.c (original)
+++ webservices/sandesha/trunk/c/samples/rm_echo_1_0/rm_echo.c Fri Jun 13 13:47:12 2008
@@ -271,7 +271,7 @@
             /* We are done with the callback */
             break;
         }
-        AXIS2_USLEEP(100000);
+        AXIS2_SLEEP(1);
     }
     return;
 }

Modified: webservices/sandesha/trunk/c/samples/rm_echo_1_0_large_sequence/rm_echo.c
URL: http://svn.apache.org/viewvc/webservices/sandesha/trunk/c/samples/rm_echo_1_0_large_sequence/rm_echo.c?rev=667648&r1=667647&r2=667648&view=diff
==============================================================================
--- webservices/sandesha/trunk/c/samples/rm_echo_1_0_large_sequence/rm_echo.c (original)
+++ webservices/sandesha/trunk/c/samples/rm_echo_1_0_large_sequence/rm_echo.c Fri Jun 13 13:47:12 2008
@@ -271,7 +271,7 @@
             /* We are done with the callback */
             break;
         }
-        AXIS2_USLEEP(100000);
+        AXIS2_SLEEP(1);
     }
     return;
 }

Modified: webservices/sandesha/trunk/c/samples/rm_echo_1_1/rm_echo_1_1.c
URL: http://svn.apache.org/viewvc/webservices/sandesha/trunk/c/samples/rm_echo_1_1/rm_echo_1_1.c?rev=667648&r1=667647&r2=667648&view=diff
==============================================================================
--- webservices/sandesha/trunk/c/samples/rm_echo_1_1/rm_echo_1_1.c (original)
+++ webservices/sandesha/trunk/c/samples/rm_echo_1_1/rm_echo_1_1.c Fri Jun 13 13:47:12 2008
@@ -56,8 +56,6 @@
 
 int main(int argc, char** argv)
 {
-	int optopt;
-	char *optarg;
     const axutil_env_t *env = NULL;
     const axis2_char_t *address = NULL;
     axis2_endpoint_ref_t* endpoint_ref = NULL;

Modified: webservices/sandesha/trunk/c/samples/rm_echo_single_1_0_large_sequence/rm_echo_single.c
URL: http://svn.apache.org/viewvc/webservices/sandesha/trunk/c/samples/rm_echo_single_1_0_large_sequence/rm_echo_single.c?rev=667648&r1=667647&r2=667648&view=diff
==============================================================================
--- webservices/sandesha/trunk/c/samples/rm_echo_single_1_0_large_sequence/rm_echo_single.c (original)
+++ webservices/sandesha/trunk/c/samples/rm_echo_single_1_0_large_sequence/rm_echo_single.c Fri Jun 13 13:47:12 2008
@@ -45,7 +45,6 @@
     axis2_svc_client_t* svc_client = NULL;
     axiom_node_t *payload = NULL;
     axiom_node_t *payload2 = NULL;
-    axiom_node_t *payload3 = NULL;
     axutil_property_t *property = NULL;
     axis2_char_t *offered_seq_id = NULL;
     axiom_node_t *result = NULL;
@@ -186,8 +185,8 @@
    
     property = axutil_property_create_with_args(env, 0, 0, 0, AXIS2_VALUE_TRUE);
     axis2_options_set_property(options, env, "Sandesha2LastMessage", property);
-    payload3 = build_om_payload_for_echo_svc(env, "echo100", seq_key);
-    result = axis2_svc_client_send_receive(svc_client, env, payload3);
+    payload2 = build_om_payload_for_echo_svc(env, "echo100", seq_key);
+    result = axis2_svc_client_send_receive(svc_client, env, payload2);
     if(result)
     {
         axis2_char_t *om_str = NULL;

Modified: webservices/sandesha/trunk/c/samples/rm_ping_1_0/rm_ping_1_0.c
URL: http://svn.apache.org/viewvc/webservices/sandesha/trunk/c/samples/rm_ping_1_0/rm_ping_1_0.c?rev=667648&r1=667647&r2=667648&view=diff
==============================================================================
--- webservices/sandesha/trunk/c/samples/rm_ping_1_0/rm_ping_1_0.c (original)
+++ webservices/sandesha/trunk/c/samples/rm_ping_1_0/rm_ping_1_0.c Fri Jun 13 13:47:12 2008
@@ -37,8 +37,6 @@
 
 int main(int argc, char** argv)
 {
-	int optopt;
-	char *optarg;
     const axutil_env_t *env = NULL;
     const axis2_char_t *address = NULL;
     axis2_endpoint_ref_t* endpoint_ref = NULL;

Modified: webservices/sandesha/trunk/c/samples/rm_ping_1_0_large_sequence/rm_ping_1_0.c
URL: http://svn.apache.org/viewvc/webservices/sandesha/trunk/c/samples/rm_ping_1_0_large_sequence/rm_ping_1_0.c?rev=667648&r1=667647&r2=667648&view=diff
==============================================================================
--- webservices/sandesha/trunk/c/samples/rm_ping_1_0_large_sequence/rm_ping_1_0.c (original)
+++ webservices/sandesha/trunk/c/samples/rm_ping_1_0_large_sequence/rm_ping_1_0.c Fri Jun 13 13:47:12 2008
@@ -37,8 +37,6 @@
 
 int main(int argc, char** argv)
 {
-	int optopt;
-	char *optarg;
     const axutil_env_t *env = NULL;
     const axis2_char_t *address = NULL;
     axis2_endpoint_ref_t* endpoint_ref = NULL;

Modified: webservices/sandesha/trunk/c/src/storage/sqlite/sqlite3.c
URL: http://svn.apache.org/viewvc/webservices/sandesha/trunk/c/src/storage/sqlite/sqlite3.c?rev=667648&r1=667647&r2=667648&view=diff
==============================================================================
--- webservices/sandesha/trunk/c/src/storage/sqlite/sqlite3.c (original)
+++ webservices/sandesha/trunk/c/src/storage/sqlite/sqlite3.c Fri Jun 13 13:47:12 2008
@@ -6821,7 +6821,7 @@
 #endif
 SQLITE_PRIVATE void sqlite3Attach(Parse*, Expr*, Expr*, Expr*);
 SQLITE_PRIVATE void sqlite3Detach(Parse*, Expr*);
-SQLITE_PRIVATE int sqlite3BtreeFactory(const sqlite3 *db, const char *zFilename,
+SQLITE_PRIVATE int sqlite3BtreeFactory(sqlite3 *db, const char *zFilename,
                        int omitJournal, int nCache, int flags, Btree **ppBtree);
 SQLITE_PRIVATE int sqlite3FixInit(DbFixer*, Parse*, int, const char*, const Token*);
 SQLITE_PRIVATE int sqlite3FixSrcList(DbFixer*, SrcList*);
@@ -70587,7 +70587,7 @@
 **           3               any             memory
 */
 SQLITE_PRIVATE int sqlite3BtreeFactory(
-  const sqlite3 *db,        /* Main database when opening aux otherwise 0 */
+  sqlite3 *db,        /* Main database when opening aux otherwise 0 */
   const char *zFilename,    /* Name of the file containing the BTree database */
   int omitJournal,          /* if TRUE then do not journal this file */
   int nCache,               /* How many pages in the page cache */



---------------------------------------------------------------------
To unsubscribe, e-mail: sandesha-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: sandesha-dev-help@ws.apache.org