Boost logo

Boost Users :

Subject: Re: [Boost-users] [Random] Good Truly-Random Seed
From: Hossein Haeri (powerprogman_at_[hidden])
Date: 2010-04-23 08:02:53


Dear Steve,

> It looks like mingw defines its own versions of
> windows.h and wincrypt.h that are missing a
> few declarations.  Try the attached patch against
> 1.42.

Thank you for the patch. It unfortunately doesn't still completely work. The compile-log can again be found in the P.S. Any other suggestions?

TIA,
--Hossein

P.S.

D:/Sources/Boost/boost_1_42_0/libs/random/random_device.cpp:34: warning: ignoring #pragma comment
D:/Sources/Boost/boost_1_42_0/libs/random/random_device.cpp: In constructor `boost::random_device::impl::impl(const std::string&)':
D:/Sources/Boost/boost_1_42_0/libs/random/random_device.cpp:49: error: `CryptEnumProvidersA' was not declared in this scope
D:/Sources/Boost/boost_1_42_0/libs/random/random_device.cpp:49: warning: unused variable 'CryptEnumProvidersA'
D:/Sources/Boost/boost_1_42_0/libs/random/random_device.cpp: In member function `void boost::random_device::impl::error(const std::string&)':
D:/Sources/Boost/boost_1_42_0/libs/random/random_device.cpp:80: warning: unused variable 'error_code'


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net