You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If the perl used to run gen_zmq_constants.pl was build with clang then tcc will fail:
open("/usr/bin/../lib/clang/3.7.0/include/stdint.h", O_RDONLY) = 5
read(5, "/*===---- stdint.h - Standard he"..., 8192) = 8192
close(5) = 0
write(2, "In file included from <string>:2"..., 200In file included from <string>:2:
In file included from /home/green.sophos/ioanrogers/git/zeromq4-x/include/zmq.h:87:
/usr/bin/../lib/clang/3.7.0/include/stdint.h:31: error: function pointer expected
) = 200
As in #35, this is more of a TinyCC issue but it should probably at least be documented. Or perhaps have the build abort if it sees perl was built with clang.
Workaround: I'm using plenv so I build another perl with gcc and set it as the default perl for my zmq-ffi clone (plenv local 5.22.1-gcc)
I'm probably in a small niche by using a clang-built perl on Linux but, IIRC, clang is the default on MacOSX.
Taking this and #35 together, is it feasible/worthwhile to use something other than TinyCC?
The text was updated successfully, but these errors were encountered:
If the perl used to run
gen_zmq_constants.pl
was build with clang thentcc
will fail:As in #35, this is more of a
TinyCC
issue but it should probably at least be documented. Or perhaps have the build abort if it sees perl was built withclang
.Workaround: I'm using plenv so I build another
perl
withgcc
and set it as the default perl for myzmq-ffi
clone (plenv local 5.22.1-gcc
)I'm probably in a small niche by using a clang-built perl on Linux but, IIRC,
clang
is the default on MacOSX.Taking this and #35 together, is it feasible/worthwhile to use something other than
TinyCC
?The text was updated successfully, but these errors were encountered: