Boost C++ Libraries: Ticket #6258: seed_rng.hpp has errors in clang++ 3.0 c++11 (Fix included) https://svn.boost.org/trac10/ticket/6258 <p> 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: </p> <blockquote> <p> unsigned int rn[] = { </p> <blockquote> <p> static_cast&lt;unsigned int&gt;(std::rand()), static_cast&lt;unsigned int&gt;(std::rand()), static_cast&lt;unsigned int&gt;(std::rand()) </p> </blockquote> <p> }; </p> </blockquote> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/6258 Trac 1.4.3 Andy Tompkins Sat, 17 Dec 2011 01:33:21 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/6258#comment:1 https://svn.boost.org/trac10/ticket/6258#comment:1 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> <p> fixed as suggested, release commit 76006 </p> Ticket