mirror of
https://github.com/zeromq/libzmq.git
synced 2025-11-07 05:58:45 +01:00
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:
@@ -43,19 +43,22 @@
|
||||
namespace zmq
|
||||
{
|
||||
|
||||
class io_thread_t;
|
||||
class session_base_t;
|
||||
|
||||
class pgm_receiver_t : public io_object_t, public i_engine
|
||||
{
|
||||
|
||||
public:
|
||||
|
||||
pgm_receiver_t (class io_thread_t *parent_, const options_t &options_);
|
||||
pgm_receiver_t (zmq::io_thread_t *parent_, const options_t &options_);
|
||||
~pgm_receiver_t ();
|
||||
|
||||
int init (bool udp_encapsulation_, const char *network_);
|
||||
|
||||
// i_engine interface implementation.
|
||||
void plug (class io_thread_t *io_thread_,
|
||||
class session_base_t *session_);
|
||||
void plug (zmq::io_thread_t *io_thread_,
|
||||
zmq::session_base_t *session_);
|
||||
void unplug ();
|
||||
void terminate ();
|
||||
void activate_in ();
|
||||
@@ -108,7 +111,7 @@ namespace zmq
|
||||
options_t options;
|
||||
|
||||
// Associated session.
|
||||
class session_base_t *session;
|
||||
zmq::session_base_t *session;
|
||||
|
||||
// Most recently used decoder.
|
||||
decoder_t *mru_decoder;
|
||||
|
||||
Reference in New Issue
Block a user