[zeromq-dev] [zmqpp] Indentation style?

Steven McCoy steven.mccoy at miru.hk
Fri Jan 24 21:35:35 CET 2014

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

On 24 January 2014 15:08, Lindley French <lindleyf at 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 <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.
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20140124/1c110165/attachment.htm>

More information about the zeromq-dev mailing list