out-of-line and arch-specific random_device

Jonathan Wakely jwakely.gcc@gmail.com
Sun Sep 9 17:37:00 GMT 2012


On 30 August 2012 17:33, Ulrich Drepper <drepper@gmail.com> wrote:
> On Thu, Aug 30, 2012 at 11:52 AM, Hans-Peter Nilsson
> <hans-peter.nilsson@axis.com> wrote:
>>> From: Ulrich Drepper <drepper@gmail.com>
>>> Date: Tue, 28 Aug 2012 05:57:08 +0200
>>
>> This patch (commit r190787) broke build for non-_GLIBCXX_USE_RANDOM_TR1
>> targets.  (See libstdc++-v3/configure.ac and its crossconfig.m4 for a
>> list.)
>
> Should be fixed now.

Apparently not, see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54451

Also, why does random.cc contain a non-member function called
_M_strotoul, which throws an exception claiming to be from
random_device::_M_strtoul?  Can I rename that to something like
__random_device_strtoul so it doesn't use the _M_ prefix used for
member fucntions?



More information about the Libstdc++ mailing list