Hi AJ,
> Actually, everything compiles fine on AIX6.1 with zeromq3-0, provided
> that I define "_H_LOCALEDEF" in the CXXFLAGS:
>
> make CXXFLAGS+=-D_H_LOCALEDEF
>
> Without that I get:
>
> CXX libzmq_la-connect_session.lo
> In file included from session.hpp:25,
> from connect_session.hpp:27,
> from connect_session.cpp:21:
> i_engine.hpp:60: error: using typedef-name 'msg_t' after 'class'
> /usr/include/sys/localedef31.h:133: error: 'msg_t' has a previous
> declaration here
> i_engine.hpp:63: error: using typedef-name 'msg_t' after 'class'
> /usr/include/sys/localedef31.h:133: error: 'msg_t' has a previous
> declaration here
>
> Not sure why localedef31.h is getting pulled in...
It should not matter as msg_t should be in zmq namespace as opposed to
the global namespace.
Can you check whether adding a forward declaration in i_engine.h fixes
the error?
This way:
namespace zmq
{
class msg_t;
struct i_engine
{
...
> Resource temporarily unavailable (req.cpp:101)
> /bin/sh: 790572 IOT/Abort trap(coredump)
I'll check that one. Thanks for reporting it.
Martin
_______________________________________________
zeromq-dev mailing list
[email protected]
http://lists.zeromq.org/mailman/listinfo/zeromq-dev