[zeromq-dev] Possible bugs / Intel compiler support

Martin Sustrik sustrik at fastmq.com
Fri Mar 6 09:57:35 CET 2009


Hi Aamir,

It's quite a long time now that we've tested 0MQ with ICC. However, the 
intent is to be able to build 0MQ with ICC. As for the two bugs you 
mention below, they've been already fixed in the trunk, so the fixed 
code will be officially available with 0.6 release.

Thanks for reporting the problem though!
Martin

Aamir M wrote:
> Hello,
> 
> Is the Intel compiler (ICC) supported by ZeroMQ? Everything seems to 
> compile fine with ICC, except the AMQP support. The details are as follows:
> 
> ZeroMQ v0.5
> Intel C++ Compiler v11.0
> Linux 2.6.18-128.el5 #1 SMP x86_64 GNU/Linux
> Autoconf options: ./configure CXX=icpc --with-exchange --with-chat 
> --with-amqp
> 
> Errors:
> 
> amqp_client.cpp(270): error #187: use of "=" where "==" may have been 
> intended
>       assert (state = state_waiting_for_connection_start);
>       ^
> 
> 
> amqp_decoder.cpp(69): error #187: use of "=" where "==" may have been 
> intended
>       assert (framebuf [bytes_read] = i_amqp::frame_end);
> 
> 
> It looks like these are just typos in the source code. I fixed these two 
> errors and now it compiles. But I have not yet tested it out. Another 
> thing is that ICC gives a huge number of warnings during compilation, 
> which is worrying.
> 
> Thanks,
> Aamir
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev




More information about the zeromq-dev mailing list