OS X and Linux uses the same compilers: GCC and Clang, but different
linkers.


On 24 January 2014 15:08, Lindley French <lindl...@gmail.com> wrote:

> In fact, OSX seems to require a much different build. -soname doesn't seem
> to be supported, -f isn't a valid flag to ar, etc.
>
>
> On Fri, Jan 24, 2014 at 3:04 PM, Lindley French <lindl...@gmail.com>wrote:
>
>> Update: I don't know why it seemed to be working before, but I've
>> confirmed that OSX and linux handle variadic templates the same way. The
>> key is there can't be any conversion if you want the non-template overload
>> to be called. Therefore I'm solving the problem by adding reinterpret_casts
>> to the operator<<s.
>>
>> In the process of investigating this, I've discovered that OSX does not
>> support the -rdynamic gcc option (or the equivalent -Wl,-export-dynamic).
>> The zmqpp Makefile will need to be updated to avoid passing this option on
>> OSX.
>>
>>
>> On Fri, Jan 24, 2014 at 1:57 PM, Lindley French <lindl...@gmail.com>wrote:
>>
>>> What is the defined indentation style for zmqpp? I see a lot of it uses
>>> tabs, but a few places it uses four spaces. I want to make sure things stay
>>> consistent. My editor is configured for 4 space indents; I prefer that
>>> since it tends to give a more uniform look across editors.
>>>
>>> Also, my variadic template pull request was tested on linux, but now
>>> what I try to build on OSX I'm getting compile errors. I think it's because
>>> the variadic add() function is being preferred to the (void*,int) overload
>>> used by the insertion operators for some reason. I'm not sure why this
>>> would be different between platforms.
>>>
>>
>>
>
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev@lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>
>
_______________________________________________
zeromq-dev mailing list
zeromq-dev@lists.zeromq.org
http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Reply via email to