When compiling zeromq-3.2.3 whith the llvm/clang compiler release 3.2 on a Debian Linux system i get the following error
./i_msg_sink.hpp:32:5: error: 'i_msg_sink' defined as a struct here but previously declared as a class [-Werror,-Wmismatched-tags] struct i_msg_sink ^ ./decoder.hpp:38:5: note: did you mean struct here? class i_msg_sink; ^~~~~ struct ./i_decoder.hpp:29:5: note: did you mean struct here? class i_msg_sink; ^~~~~ struct 1 error generated.
The same happens for
struct i_msg_source;
The problem can be avoided when switching of the -Werror compilation flag.
When compiling zeromq-3.2.3 whith the llvm/clang compiler release 3.2 on a Debian Linux system i get the following error
./i_msg_sink.hpp:32:5: error: 'i_msg_sink' defined as a struct here but previously declared as a class [-Werror,-Wmismatched-tags]
struct i_msg_sink
^
./decoder.hpp:38:5: note: did you mean struct here?
class i_msg_sink;
^~~~~
struct
./i_decoder.hpp:29:5: note: did you mean struct here?
class i_msg_sink;
^~~~~
struct
1 error generated.
The same happens for
struct i_msg_source;
The problem can be avoided when switching of the -Werror compilation flag.