[zeromq-dev] [PATCH] DSO symbol visibility

Martin Lucina mato at kotelna.sk
Thu Nov 25 19:07:48 CET 2010


Hi,

ok, so this seems to have broken the clang build. I'm guessing this is
because I test for -fvisibility support in configure.in with *any*
compiler, which succeeds, but the code which sets default visibility in
zmq.h/zmq.cpp is tied to checking for __GNUC__ >= 4.

Martin, can you please apply the attached patch? It's just a small change
to only try -fvisibility if we're actually using real G++ (or something
that claims to be compatible). It should fix the clang issue.

-mato
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Only-test-for-fvisibility-if-using-GNU-compilers.patch
Type: text/x-diff
Size: 1771 bytes
Desc: not available
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20101125/c7743f13/attachment.patch>


More information about the zeromq-dev mailing list