This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: out-of-line and arch-specific random_device
- From: Jonathan Wakely <jwakely dot gcc at gmail dot com>
- To: Ulrich Drepper <drepper at gmail dot com>
- Cc: Hans-Peter Nilsson <hans-peter dot nilsson at axis dot com>, gcc-patches at gcc dot gnu dot org, libstdc++ at gcc dot gnu dot org
- Date: Sun, 9 Sep 2012 18:36:46 +0100
- Subject: Re: out-of-line and arch-specific random_device
- References: <CAOPLpQeKJrrFPjKQgtvo6rt87bGNy0YZhtL2Y=dnVfn8Ug+F0w@mail.gmail.com> <201208301552.q7UFqpOt022434@ignucius.se.axis.com> <CAOPLpQcWZKJL5qPy373q+TiJvNU3rHZfHZAymWQu1CukkM=aEQ@mail.gmail.com>
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?