methodmissing / rbczmq

Ruby extension that wraps the official high level ZeroMQ C API ( http://czmq.zeromq.org/ )
http://github.com/methodmissing/rbczmq
MIT License
125 stars 32 forks source link

Ruby 2.2.0-rc1 compilation failure #34

Closed glebtv closed 9 years ago

glebtv commented 9 years ago

/home/gleb/.rvm/gems/ruby-2.2.0-rc1@ml_node/gems/rbczmq-1.7.7/ext/czmq/include/zcertstore.h:33:1: warning: (this will be reported only once per input file) In file included from rbczmq_prelude.h:17:0, from rbczmq_ext.h:17, from pollitem.c:1: ruby18.h:4:2: error: #error Unsupported Ruby platform - this extension only works with Ruby 1.9, Ruby 2 and Rubinius

error Unsupported Ruby platform - this extension only works with Ruby 1.9, Ruby 2 and Rubinius

^ In file included from context.h:4:0, from rbczmq_ext.h:84, from pollitem.c:1: socket.h:16:24: warning: C++ style comments are not allowed in ISO C90 void _ctx_wrapper; // zmq_ctx_wrapper - can't be defined yet, circular header includes. ^ socket.h:16:24: warning: (this will be reported only once per input file) pollitem.c: In function ‘rb_czmq_pollitem_s_new’: pollitem.c:86:8: warning: C++ style comments are not allowed in ISO C90 // zsockopt_setlinger(sock->socket, 1); ^ pollitem.c:86:8: warning: (this will be reported only once per input file) Makefile:237: recipe for target 'pollitem.o' failed make: ** [pollitem.o] Error 1

make failed, exit code 2

methodmissing commented 9 years ago

Thanks for flagging, will resolve and release today. Em 24/12/2014 05:46, "Gleb" notifications@github.com escreveu:

/home/gleb/.rvm/gems/ruby-2.2.0-rc1@ml_node/gems/rbczmq-1.7.7/ext/czmq/include/zcertstore.h:33:1: warning: (this will be reported only once per input file) In file included from rbczmq_prelude.h:17:0, from rbczmq_ext.h:17, from pollitem.c:1: ruby18.h:4:2: error: #error Unsupported Ruby platform - this extension only works with Ruby 1.9, Ruby 2 and Rubinius

error Unsupported Ruby platform - this extension only works with Ruby

1.9, Ruby 2 and Rubinius ^ In file included from context.h:4:0, from rbczmq_ext.h:84, from pollitem.c:1: socket.h:16:24: warning: C++ style comments are not allowed in ISO C90 void

_ctx_wrapper; // zmq_ctx_wrapper - can't be defined yet, circular header includes. ^ socket.h:16:24: warning: (this will be reported only once per input file) pollitem.c: In function ‘rb_czmq_pollitem_s_new’: pollitem.c:86:8: warning: C++ style comments are not allowed in ISO C90 // zsockopt_setlinger(sock->socket, 1); ^ pollitem.c:86:8: warning: (this will be reported only once per input file) Makefile:237: recipe for target 'pollitem.o' failed make: ** [pollitem.o] Error 1

make failed, exit code 2

— Reply to this email directly or view it on GitHub https://github.com/methodmissing/rbczmq/issues/34.

methodmissing commented 9 years ago

@glebtv Santa delivered http://rubygems.org/gems/rbczmq/versions/1.7.8