qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From astitc...@apache.org
Subject svn commit: r1101178 - in /qpid/trunk/qpid/cpp: include/qmf/ src/qpid/cluster/ src/qpid/sys/posix/ src/qpid/sys/ssl/
Date Mon, 09 May 2011 19:55:30 GMT
Author: astitcher
Date: Mon May  9 19:55:29 2011
New Revision: 1101178

URL: http://svn.apache.org/viewvc?rev=1101178&view=rev
Log:
QPID-3004: Get Clang to compile qpid c++
- Change class/struct declarations to be consistent with the definition to avoid
  warnings

Modified:
    qpid/trunk/qpid/cpp/include/qmf/Query.h
    qpid/trunk/qpid/cpp/include/qmf/Subscription.h
    qpid/trunk/qpid/cpp/src/qpid/cluster/Cluster.h
    qpid/trunk/qpid/cpp/src/qpid/cluster/Connection.h
    qpid/trunk/qpid/cpp/src/qpid/cluster/Decoder.h
    qpid/trunk/qpid/cpp/src/qpid/cluster/ErrorCheck.h
    qpid/trunk/qpid/cpp/src/qpid/cluster/UpdateClient.h
    qpid/trunk/qpid/cpp/src/qpid/sys/posix/Thread.cpp
    qpid/trunk/qpid/cpp/src/qpid/sys/ssl/SslHandler.h

Modified: qpid/trunk/qpid/cpp/include/qmf/Query.h
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/cpp/include/qmf/Query.h?rev=1101178&r1=1101177&r2=1101178&view=diff
==============================================================================
--- qpid/trunk/qpid/cpp/include/qmf/Query.h (original)
+++ qpid/trunk/qpid/cpp/include/qmf/Query.h Mon May  9 19:55:29 2011
@@ -65,7 +65,7 @@ namespace qmf {
 #ifndef SWIG
     private:
         friend class qmf::PrivateImplRef<Query>;
-        friend class QueryImplAccess;
+        friend struct QueryImplAccess;
 #endif
     };
 

Modified: qpid/trunk/qpid/cpp/include/qmf/Subscription.h
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/cpp/include/qmf/Subscription.h?rev=1101178&r1=1101177&r2=1101178&view=diff
==============================================================================
--- qpid/trunk/qpid/cpp/include/qmf/Subscription.h (original)
+++ qpid/trunk/qpid/cpp/include/qmf/Subscription.h Mon May  9 19:55:29 2011
@@ -73,7 +73,7 @@ namespace qmf {
 #ifndef SWIG
     private:
         friend class qmf::PrivateImplRef<Subscription>;
-        friend class SubscriptionImplAccess;
+        friend struct SubscriptionImplAccess;
 #endif
     };
 

Modified: qpid/trunk/qpid/cpp/src/qpid/cluster/Cluster.h
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/cpp/src/qpid/cluster/Cluster.h?rev=1101178&r1=1101177&r2=1101178&view=diff
==============================================================================
--- qpid/trunk/qpid/cpp/src/qpid/cluster/Cluster.h (original)
+++ qpid/trunk/qpid/cpp/src/qpid/cluster/Cluster.h Mon May  9 19:55:29 2011
@@ -60,13 +60,13 @@ class Message;
 
 namespace framing {
 class AMQBody;
-class Uuid;
+struct Uuid;
 }
 
 namespace cluster {
 
 class Connection;
-class EventFrame;
+struct EventFrame;
 class ClusterTimer;
 class UpdateDataExchange;
 
@@ -298,7 +298,7 @@ class Cluster : private Cpg::Handler, pu
     ClusterTimer* timer;
 
   friend std::ostream& operator<<(std::ostream&, const Cluster&);
-  friend class ClusterDispatcher;
+  friend struct ClusterDispatcher;
 };
 
 }} // namespace qpid::cluster

Modified: qpid/trunk/qpid/cpp/src/qpid/cluster/Connection.h
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/cpp/src/qpid/cluster/Connection.h?rev=1101178&r1=1101177&r2=1101178&view=diff
==============================================================================
--- qpid/trunk/qpid/cpp/src/qpid/cluster/Connection.h (original)
+++ qpid/trunk/qpid/cpp/src/qpid/cluster/Connection.h Mon May  9 19:55:29 2011
@@ -47,7 +47,7 @@ namespace framing { class AMQFrame; }
 
 namespace broker {
 class SemanticState;
-class QueuedMessage;
+struct QueuedMessage;
 class TxBuffer;
 class TxAccept;
 }

Modified: qpid/trunk/qpid/cpp/src/qpid/cluster/Decoder.h
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/cpp/src/qpid/cluster/Decoder.h?rev=1101178&r1=1101177&r2=1101178&view=diff
==============================================================================
--- qpid/trunk/qpid/cpp/src/qpid/cluster/Decoder.h (original)
+++ qpid/trunk/qpid/cpp/src/qpid/cluster/Decoder.h Mon May  9 19:55:29 2011
@@ -31,7 +31,7 @@
 namespace qpid {
 namespace cluster {
 
-class EventFrame;
+struct EventFrame;
 class EventHeader;
 
 /**

Modified: qpid/trunk/qpid/cpp/src/qpid/cluster/ErrorCheck.h
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/cpp/src/qpid/cluster/ErrorCheck.h?rev=1101178&r1=1101177&r2=1101178&view=diff
==============================================================================
--- qpid/trunk/qpid/cpp/src/qpid/cluster/ErrorCheck.h (original)
+++ qpid/trunk/qpid/cpp/src/qpid/cluster/ErrorCheck.h Mon May  9 19:55:29 2011
@@ -33,7 +33,7 @@
 namespace qpid {
 namespace cluster {
 
-class EventFrame;
+struct EventFrame;
 class Cluster;
 class Multicaster;
 class Connection;

Modified: qpid/trunk/qpid/cpp/src/qpid/cluster/UpdateClient.h
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/cpp/src/qpid/cluster/UpdateClient.h?rev=1101178&r1=1101177&r2=1101178&view=diff
==============================================================================
--- qpid/trunk/qpid/cpp/src/qpid/cluster/UpdateClient.h (original)
+++ qpid/trunk/qpid/cpp/src/qpid/cluster/UpdateClient.h Mon May  9 19:55:29 2011
@@ -34,7 +34,7 @@
 
 namespace qpid {
 
-class Url;
+struct Url;
 
 namespace broker {
 
@@ -42,8 +42,8 @@ class Broker;
 class Queue;
 class Exchange;
 class QueueBindings;
-class QueueBinding;
-class QueuedMessage;
+struct QueueBinding;
+struct QueuedMessage;
 class SessionHandler;
 class DeliveryRecord;
 class SessionState;

Modified: qpid/trunk/qpid/cpp/src/qpid/sys/posix/Thread.cpp
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/cpp/src/qpid/sys/posix/Thread.cpp?rev=1101178&r1=1101177&r2=1101178&view=diff
==============================================================================
--- qpid/trunk/qpid/cpp/src/qpid/sys/posix/Thread.cpp (original)
+++ qpid/trunk/qpid/cpp/src/qpid/sys/posix/Thread.cpp Mon May  9 19:55:29 2011
@@ -37,7 +37,8 @@ void* runRunnable(void* p)
 }
 }
 
-struct ThreadPrivate {
+class ThreadPrivate {
+public:
     pthread_t thread;
 
     ThreadPrivate(Runnable* runnable) {

Modified: qpid/trunk/qpid/cpp/src/qpid/sys/ssl/SslHandler.h
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/cpp/src/qpid/sys/ssl/SslHandler.h?rev=1101178&r1=1101177&r2=1101178&view=diff
==============================================================================
--- qpid/trunk/qpid/cpp/src/qpid/sys/ssl/SslHandler.h (original)
+++ qpid/trunk/qpid/cpp/src/qpid/sys/ssl/SslHandler.h Mon May  9 19:55:29 2011
@@ -35,7 +35,7 @@ namespace sys {
 namespace ssl {
 
 class SslIO;
-class SslIOBufferBase;
+struct SslIOBufferBase;
 class SslSocket;
 
 class SslHandler : public OutputControl {



---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:commits-subscribe@qpid.apache.org


Mime
View raw message