Personally I prefer, and have so far used, tabs for the same reason Pieter gives actually. However as the libzmq uses four spaces I fine with switching over. On 25 Jan 2014 00:05, "Pieter Hintjens" <[email protected]> wrote:
> For libzmq and czmq, the indentation style is 4 spaces. Tabs look > inconsistent across editors. > > On Fri, Jan 24, 2014 at 2:35 PM, Steven McCoy <[email protected]> > wrote: > > OS X and Linux uses the same compilers: GCC and Clang, but different > > linkers. > > > > > > On 24 January 2014 15:08, Lindley French <[email protected]> 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 <[email protected]> > >> 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 <[email protected]> > >>> 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 > >> [email protected] > >> http://lists.zeromq.org/mailman/listinfo/zeromq-dev > >> > > > > > > _______________________________________________ > > zeromq-dev mailing list > > [email protected] > > http://lists.zeromq.org/mailman/listinfo/zeromq-dev > > > _______________________________________________ > zeromq-dev mailing list > [email protected] > http://lists.zeromq.org/mailman/listinfo/zeromq-dev >
_______________________________________________ zeromq-dev mailing list [email protected] http://lists.zeromq.org/mailman/listinfo/zeromq-dev
