Subject: Re: [Boost-bugs] [Boost C++ Libraries] #6118: Uuid random_generator compiles with warnings by GCC
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-12-20 02:06:56
#6118: Uuid random_generator compiles with warnings by GCC
----------------------------------------------+-----------------------------
Reporter: Vasily Sukhanov <basil@â¦> | Owner: atompkins
Type: Bugs | Status: new
Milestone: To Be Determined | Component: uuid
Version: Boost 1.47.0 | Severity: Problem
Resolution: | Keywords: warning gcc
----------------------------------------------+-----------------------------
Comment (by atompkins):
This random number generator is slow. That is why it is only used to seed
a faster random number generator. Therefore I don't believe that the cost
of an extra assignment or two will be significant. I checked in the
following (trunk commit 76076):
{{{
size_t not_used = 0;
not_used = fread( ... );
}}}
Does this get rid of all the warnings?
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/6118#comment:5> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:08 UTC