Subject: Re: [boost] boost::random, header-only, boost::uuids::detail::seed_rng, and UWP development
From: degski (degski_at_[hidden])
Date: 2017-09-14 04:37:18
On 14 September 2017 at 03:32, James E. King, III via Boost <
> RtlGenRandom is no supported on non-desktop UWP ...
states that: "UWP apps use the Windows Runtime, a native API built into the
operating system." ... and ... Some options for writing apps in UWP
include: ... C++ backend ... So it should be possible to write:
extern "C" int rand_s ( unsigned int* );
which tells the compiler not to worry about the existence of this function,
"we'll give it to you at link-time". This works (and only works AFAIK),
because it's a "C" function, a function without C++ name mangling.
-- "*Ihre sogenannte Religion wirkt bloÃ wie ein Opiat reizend, betÃ¤ubend, Schmerzen aus SchwÃ¤che stillend.*" - Novalis 1798
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk