tuscany-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jsdelf...@apache.org
Subject svn commit: r1517422 - in /tuscany/sca-cpp/trunk: components/cache/memcache.hpp components/filedb/filedb.hpp configure.ac kernel/gc.hpp kernel/mem-test.cpp modules/python/eval.hpp
Date Mon, 26 Aug 2013 05:18:16 GMT
Author: jsdelfino
Date: Mon Aug 26 05:18:15 2013
New Revision: 1517422

URL: http://svn.apache.org/r1517422
Log:
Fix build errors with latest GCC and CLang compilers.

Modified:
    tuscany/sca-cpp/trunk/components/cache/memcache.hpp
    tuscany/sca-cpp/trunk/components/filedb/filedb.hpp
    tuscany/sca-cpp/trunk/configure.ac
    tuscany/sca-cpp/trunk/kernel/gc.hpp
    tuscany/sca-cpp/trunk/kernel/mem-test.cpp
    tuscany/sca-cpp/trunk/modules/python/eval.hpp

Modified: tuscany/sca-cpp/trunk/components/cache/memcache.hpp
URL: http://svn.apache.org/viewvc/tuscany/sca-cpp/trunk/components/cache/memcache.hpp?rev=1517422&r1=1517421&r2=1517422&view=diff
==============================================================================
--- tuscany/sca-cpp/trunk/components/cache/memcache.hpp (original)
+++ tuscany/sca-cpp/trunk/components/cache/memcache.hpp Mon Aug 26 05:18:15 2013
@@ -68,7 +68,7 @@ public:
 
 private:
     const gc_child_pool p;
-    const bool owner;
+    unused const bool owner;
     apr_memcache_t* const mc;
 
     friend const failable<bool> post(const value& key, const value& val, const
MemCached& cache);

Modified: tuscany/sca-cpp/trunk/components/filedb/filedb.hpp
URL: http://svn.apache.org/viewvc/tuscany/sca-cpp/trunk/components/filedb/filedb.hpp?rev=1517422&r1=1517421&r2=1517422&view=diff
==============================================================================
--- tuscany/sca-cpp/trunk/components/filedb/filedb.hpp (original)
+++ tuscany/sca-cpp/trunk/components/filedb/filedb.hpp Mon Aug 26 05:18:15 2013
@@ -74,7 +74,7 @@ public:
     }
 
 private:
-    const bool owner;
+    unused const bool owner;
     const string name;
     const string format;
 

Modified: tuscany/sca-cpp/trunk/configure.ac
URL: http://svn.apache.org/viewvc/tuscany/sca-cpp/trunk/configure.ac?rev=1517422&r1=1517421&r2=1517422&view=diff
==============================================================================
--- tuscany/sca-cpp/trunk/configure.ac (original)
+++ tuscany/sca-cpp/trunk/configure.ac Mon Aug 26 05:18:15 2013
@@ -121,7 +121,7 @@ if test "${want_maintainer_mode}" = "tru
   if test "${cxxtype}" = "clang"; then
     cxxflags="${cxxflags} -O1 -stdlib=libc++ -Qunused-arguments -Wno-return-type-c-linkage"
   else
-    cxxflags="${cxxflags} -O2 -Wlogical-op -Wconversion"
+    cxxflags="${cxxflags} -O2 -Wlogical-op -Wconversion -Wno-attributes"
   fi
   AM_CONDITIONAL([WANT_MAINTAINER_MODE], true)
   AC_DEFINE([WANT_MAINTAINER_MODE], 1, [compile with debugging and compile-time warnings])

Modified: tuscany/sca-cpp/trunk/kernel/gc.hpp
URL: http://svn.apache.org/viewvc/tuscany/sca-cpp/trunk/kernel/gc.hpp?rev=1517422&r1=1517421&r2=1517422&view=diff
==============================================================================
--- tuscany/sca-cpp/trunk/kernel/gc.hpp (original)
+++ tuscany/sca-cpp/trunk/kernel/gc.hpp Mon Aug 26 05:18:15 2013
@@ -325,7 +325,7 @@ public:
     gc_child_pool& operator=(const gc_child_pool& p) = delete;
 
 private:
-    const bool owner;
+    unused const bool owner;
 
     inline apr_pool_t* const mkpool() noexcept {
         apr_pool_t* p;

Modified: tuscany/sca-cpp/trunk/kernel/mem-test.cpp
URL: http://svn.apache.org/viewvc/tuscany/sca-cpp/trunk/kernel/mem-test.cpp?rev=1517422&r1=1517421&r2=1517422&view=diff
==============================================================================
--- tuscany/sca-cpp/trunk/kernel/mem-test.cpp (original)
+++ tuscany/sca-cpp/trunk/kernel/mem-test.cpp Mon Aug 26 05:18:15 2013
@@ -67,7 +67,7 @@ private:
     friend ostream& operator<<(ostream& out, const Element& v);
 
     const int i;
-    char c[20];
+    unused char c[20];
 };
 
 ostream& operator<<(ostream& out, const Element& v) {

Modified: tuscany/sca-cpp/trunk/modules/python/eval.hpp
URL: http://svn.apache.org/viewvc/tuscany/sca-cpp/trunk/modules/python/eval.hpp?rev=1517422&r1=1517421&r2=1517422&view=diff
==============================================================================
--- tuscany/sca-cpp/trunk/modules/python/eval.hpp (original)
+++ tuscany/sca-cpp/trunk/modules/python/eval.hpp Mon Aug 26 05:18:15 2013
@@ -141,7 +141,7 @@ public:
     }
 
 private:
-    const bool owner;
+    unused const bool owner;
 #ifdef WANT_THREADS
     pthread_mutex_t mutex;
     pthread_mutex_t pidmutex;
@@ -272,7 +272,7 @@ public:
     }
 
 private:
-    PythonRuntime* const py;
+    unused PythonRuntime* const py;
 #ifdef WANT_THREADS
     PyGILState_STATE gstate;
 #endif
@@ -300,7 +300,7 @@ public:
     }
 
 private:
-    PythonRuntime* const py;
+    unused PythonRuntime* const py;
 #ifdef WANT_THREADS
     PyThreadState* tstate;
 #endif



Mime
View raw message