commit-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Commit-gnuradio] [gnuradio] 01/01: runtime: fix a circular dependency f


From: git
Subject: [Commit-gnuradio] [gnuradio] 01/01: runtime: fix a circular dependency for older compilers
Date: Thu, 17 Jul 2014 20:23:31 +0000 (UTC)

This is an automated email from the git hooks/post-receive script.

trondeau pushed a commit to branch maint
in repository gnuradio.

commit b4ddba76f8be72aa08be6fb16be5ca0d1d2148bd
Author: Nathan West <address@hidden>
Date:   Thu Jul 10 19:25:37 2014 -0400

    runtime: fix a circular dependency for older compilers
---
 gnuradio-runtime/include/gnuradio/rpcregisterhelpers.h | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/gnuradio-runtime/include/gnuradio/rpcregisterhelpers.h 
b/gnuradio-runtime/include/gnuradio/rpcregisterhelpers.h
index 86650a7..0999dea 100644
--- a/gnuradio-runtime/include/gnuradio/rpcregisterhelpers.h
+++ b/gnuradio-runtime/include/gnuradio/rpcregisterhelpers.h
@@ -30,6 +30,11 @@
 #include <gnuradio/rpcmanager.h>
 #include <gnuradio/rpcserver_selector.h>
 #include <gnuradio/rpcserver_base.h>
+
+// Fixes circular dependency issue before including block_registry.h
+class rpcbasic_base;
+typedef boost::shared_ptr<rpcbasic_base> rpcbasic_sptr;
+
 #include <gnuradio/block_registry.h>
 
 
@@ -585,9 +590,6 @@ public:
 };
 
 
-typedef boost::shared_ptr<rpcbasic_base> rpcbasic_sptr;
-
-
 
 /*********************************************************************
  *   RPC Register Set Classes



reply via email to

[Prev in Thread] Current Thread [Next in Thread]