[zeromq-dev] [zmqpp] Indentation style?

Lindley French lindleyf at gmail.com
Fri Jan 24 21:08:37 CET 2014


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 <lindleyf at 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 <lindleyf at 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.
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20140124/836a70da/attachment.htm>


More information about the zeromq-dev mailing list