
Le 05/12/11 00:48, Olaf van der Spek a écrit :
On Sun, Dec 4, 2011 at 11:40 PM, Vicente J. Botet Escriba <vicente.botet@wanadoo.fr> wrote:
typedef std::vector<registered_waiter>::size_type count_type; count_type count; boost::scoped_array<boost::unique_lock<boost::mutex> > locks; std::vector<registered_waiter> futures;
// ... for(count_type i=0;i<count;++i) {
locks[i]=boost::unique_lock<boost::mutex>(futures[i].future->mutex); }
The question is how count_type must be defined so that we don't have portable issues.
Is this still an issue with 1.48? Can't reproduce.
No body said that the error has been corrected or disappeared before. Could you try to reproduce it with version 1.45 so that we are sure the error is no more present? I don't know which compiler version was used :( Best, Vicente