Ticket #6258 (closed Bugs: fixed)

Opened 4 years ago

Last modified 4 years ago

seed_rng.hpp has errors in clang++ 3.0 c++11 (Fix included)

Reported by: calfeld@… Owned by: atompkins
Milestone: To Be Determined Component: uuid
Version: Boost 1.48.0 Severity: Problem
Keywords: Cc:


At line 142 (sha_random_digest_()), rn is n array of unsigned ints with an initializer list of ints. This is an error in clang 3.0 with c++11 turned. It is easily fixed. Replace the line with:

unsigned int rn[] = {

static_cast<unsigned int>(std::rand()), static_cast<unsigned int>(std::rand()), static_cast<unsigned int>(std::rand())



Change History

comment:1 Changed 4 years ago by atompkins

  • Status changed from new to closed
  • Resolution set to fixed

fixed as suggested, release commit 76006


Add a comment

Modify Ticket

Change Properties
<Author field>
as closed
The resolution will be deleted. Next status will be 'reopened'

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.