Get AIX 6.1 compiling again by making msg_t class explicit

Older versions of gcc have problems with in-line forward declarations
when there's a naming conflict with a global symbol.

Signed-off-by: AJ Lewis <aj.lewis@quantum.com>

Expand the original patch to all such forward declarations.
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
This commit is contained in:
AJ Lewis
2011-11-09 15:22:20 +01:00
committed by Martin Sustrik
parent 89962a8256
commit c79abee6bc
40 changed files with 361 additions and 221 deletions

View File

@@ -29,11 +29,14 @@
namespace zmq
{
class ctx_t;
class socket_base_t;
class reaper_t : public object_t, public i_poll_events
{
public:
reaper_t (class ctx_t *ctx_, uint32_t tid_);
reaper_t (zmq::ctx_t *ctx_, uint32_t tid_);
~reaper_t ();
mailbox_t *get_mailbox ();
@@ -50,7 +53,7 @@ namespace zmq
// Command handlers.
void process_stop ();
void process_reap (class socket_base_t *socket_);
void process_reap (zmq::socket_base_t *socket_);
void process_reaped ();
// Reaper thread accesses incoming commands via this mailbox.