This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: out-of-line and arch-specific random_device


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?


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]