On 09/14/17 03:32, James E. King, III via Boost wrote:
RtlGenRandom is no supported on non-desktop UWP, however I'd like to thank everyone for their responses on this so far. I'm planning on submitting some changes to winapi and random, and will look at the existing random_device as a baseline given feedback on seed_rng, and work towards making the random library header-only. I'll be adding some comprehensive CI integration for travis and appveyor to make sure all the compile-time branches are being exercised.
James, please, don't top post. http://www.boost.org/community/policy.html#quoting
On Wed, Sep 13, 2017 at 7:28 PM, Gavin Lambert via Boost < boost@lists.boost.org> wrote:
On 14/09/2017 10:21, Edward Diener wrote:
On 9/12/2017 9:27 AM, degski wrote:
Is not rand_s VC++ specific ? There really are other compilers on Windows other than VC++ ( I can test clang, gcc, and Intel for Windows).
rand_s is MSVCRT specific. But AFAIK gcc and clang both use MSVCRT on Windows anyway, so it should work (though might depend on the age of the CRT used).
If in doubt, you could use RtlGenRandom instead, as Peter Dimov suggested, since this is the OS-level API.
_______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman /listinfo.cgi/boost
_______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost