[zeromq-dev] Can we move the libzmq compiler option to -std=c++11 ?
Laurent Alebarde
l.alebarde at free.fr
Tue Oct 1 14:50:50 CEST 2013
Yes, sure, since PARANO won't exist without libsodium. But then, what
about these platforms which may use curve and libsodium ?
The different other alternatives I can list are :
1) test at build time the compatibility with c++11 and build PARANO
on this condition only. I don't know how to do that, but I assume it is
easy for an autotools & make expert.
2) don't use #include <random>, but the gsl
<http://www.gnu.org/software/gsl/manual/html_node/Random-Number-Distribution-Examples.html>.
It would add a dependency.
3) Thanks to ToohrVyk
<http://www.gamedev.net/topic/477468-real-random-number-in-c-and-sdl/> :
int getRandomNumber() {return 4;} ;-)
For my own case, your solution or #1 are the same. Solution #2 is a bit
heavy.
Le 01/10/2013 13:27, Pieter Hintjens a écrit :
> On Mon, Sep 30, 2013 at 5:12 PM, Laurent Alebarde <l.alebarde at free.fr> wrote:
>
>> Do you see some show-stoppers towards moving the libzmq and co compiler
>> options to -std=c++11 ?
> It may be a problem for some platforms... can we use that
> conditionally, if we're building on libsodium?
> _______________________________________________
> 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/20131001/34f6a7e2/attachment.htm>
More information about the zeromq-dev
mailing list