Boost logo

Boost Users :

Subject: Re: [Boost-users] random
From: Robert Ramey (ramey_at_[hidden])
Date: 2009-10-19 18:54:52


wow - that was fast - I only made a trak item seconds ago.

Robert Ramey

Steven Watanabe wrote:
> AMDG
>
> Robert Ramey wrote:
>> I'm interested in using the functionaliy from the random library.
>>
>> I arm wrestled with the documentation and couldn't get my ap to
>> compile. of the first page of the documentation. I checked the test
>> matrix
>> and the library is showing no errors. So I just tried to compile
>> random_demo.cpp mentioned in the forth line. I got a bunch of
>> cryptic (to me) warnings. I don't think this should happen.
>>
>> They are just warnings so I suppose they are irrelevant to my own
>> problems but still it's annoying.
>>
>
> It's almost always safe to suppress 4512. I'll take care of it.
>
>> Compiling...
>> generate_test_data.c
>> c:\BoostRelease\boost\random\detail\pass_through_engine.hpp(49) :
>> warning C4512:
>> 'boost::random::detail::pass_through_engine<UniformRandomNumberGenerator>'
>> : assignment operator could not be generated
>> with
>> [
>> UniformRandomNumberGenerator=boost::random::linear_congruential<boost::int32_t,48271,0,2147483647,399268537>
>> ]
>> c:\BoostRelease\boost\random\variate_generator.hpp(92) : see
>> reference to class template instantiation
>> 'boost::random::detail::pass_through_engine<UniformRandomNumberGenerator>'
>> being compiled
>> with
>> [
>> UniformRandomNumberGenerator=boost::random::linear_congruential<boost::int32_t,48271,0,2147483647,399268537>
>> ]
>> c:\Projects\vario\test_windspeed\generate_test_data.c(32) : see
>> reference to class template instantiation
>> 'boost::variate_generator<Engine,Distribution>' being compiled
>> with
>> [
>> Engine=base_generator_type &,
>> Distribution=distribution_type
>> ]
>>
>
> In Christ,
> Steven Watanabe


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