[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gnash-dev] Lenny support lost in noise
From: |
Benjamin Wolsey |
Subject: |
Re: [Gnash-dev] Lenny support lost in noise |
Date: |
Wed, 27 Jul 2011 16:21:20 +0200 |
The issue here is that std::random_shuffle needs a functor that returns
a random number from 0..n, and boost random evidently didn't provide
this functionality in 1.34. It could be done another (less good) way, so
it's not a big problem, but it joins an increasing list of things that
would be rather easier if 1.35 were the minimum supported version.
Also: 1.35 is available for Lenny, just not in the standard repository.
bwy
Am Dienstag, den 26.07.2011, 19:52 +0200 schrieb Sandro Santilli:
> FYI: lenny build fails. Do we want to keep or let go ?
>
> /usr/include/boost/random/variate_generator.hpp: In member function ‘typename
> Distribution::result_type boost::variate_generator<Engine,
> Distribution>::operator()(T) [with T = int, Engine = boost::rand48,
> Distribution = boost::uniform_int<int>]’:
> asobj/flash/display/BitmapData_as.cpp:186: instantiated from ‘int
> gnash::<unnamed>::Noise<RNG>::operator()(int) [with RNG = boost::rand48]’
> /usr/include/c++/4.3/bits/stl_algo.h:4567: instantiated from ‘void
> std::random_shuffle(_RAIter, _RAIter, _Generator&) [with _RAIter = unsigned
> int*, _Generator = gnash::<unnamed>::Noise<boost::rand48>]’
> asobj/flash/display/BitmapData_as.cpp:397: instantiated from ‘void
> gnash::<unnamed>::PerlinNoise<T, Size, Offset>::init(int) [with T = double,
> unsigned int Size = 256u, unsigned int Offset = 1327u]’
> asobj/flash/display/BitmapData_as.cpp:303: instantiated from
> ‘gnash::<unnamed>::PerlinNoise<T, Size, Offset>::PerlinNoise(int) [with T =
> double, unsigned int Size = 256u, unsigned int Offset = 1327u]’
> asobj/flash/display/BitmapData_as.cpp:1357: instantiated from here
> /usr/include/boost/random/variate_generator.hpp:102: error: no match for call
> to ‘(boost::uniform_int<int>)
> (boost::random::detail::pass_through_engine<boost::random::detail::pass_through_engine<boost::rand48>
> >&, int&)’
>
> --strk;
>
> () Free GIS & Flash consultant/developer
> /\ http://strk.keybit.net/services.html
>
> _______________________________________________
> Gnash-dev mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/gnash-dev
--
Use Gnash, the GNU Flash Player!
http://www.gnu.org/software/gnash/
Benjamin Wolsey, Software Developer - http://benjaminwolsey.de
C++ and Open-Source Flash blog - http://www.benjaminwolsey.de/bwysblog
xmpp:address@hidden
http://identi.ca/bwy
signature.asc
Description: This is a digitally signed message part