Skip to content

Instantly share code, notes, and snippets.

@digitalkaoz
Last active September 24, 2015 07:22
Show Gist options
  • Select an option

  • Save digitalkaoz/0f9dd8db8ec07e756b3d to your computer and use it in GitHub Desktop.

Select an option

Save digitalkaoz/0f9dd8db8ec07e756b3d to your computer and use it in GitHub Desktop.
Cmake Error building ext-zmq
In file included from /tmp/php-zmq-master/ext_zmq.cpp:18:0:
/tmp/php-zmq-master/ext_zmq-private.h: In constructor 'HPHP::zmq::ZMQSocketData::ZMQSocketData(HPHP::zmq::ZMQContextData*, int64_t, bool)':
/tmp/php-zmq-master/ext_zmq-private.h:113:7: warning: 'HPHP::zmq::ZMQSocketData::pid' will be initialized after [-Wreorder]
int pid;
^
/tmp/php-zmq-master/ext_zmq-private.h:111:8: warning: 'bool HPHP::zmq::ZMQSocketData::is_persistent' [-Wreorder]
bool is_persistent;
^
/tmp/php-zmq-master/ext_zmq.cpp:279:1: warning: when initialized here [-Wreorder]
ZMQSocketData::ZMQSocketData(ZMQContextData* ctx, int64_t type, bool isPersistent)
^
In file included from /tmp/php-zmq-master/ext_zmq.cpp:18:0:
/tmp/php-zmq-master/ext_zmq-private.h:111:8: warning: 'HPHP::zmq::ZMQSocketData::is_persistent' will be initialized after [-Wreorder]
bool is_persistent;
^
/tmp/php-zmq-master/ext_zmq-private.h:108:32: warning: 'HPHP::zmq::ZMQContextData* HPHP::zmq::ZMQSocketData::ctx' [-Wreorder]
ZMQContextData* ctx{ nullptr };
^
/tmp/php-zmq-master/ext_zmq.cpp:279:1: warning: when initialized here [-Wreorder]
ZMQSocketData::ZMQSocketData(ZMQContextData* ctx, int64_t type, bool isPersistent)
^
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment