El 12/05/2011 12:23, Steven Maenhout escribió:
I just tried the latest trunk code and I'm sorry to report that the GCC specific attribute does not solve all problems. The crashes or indefinite waits have been resolved though.
Code is wrong, because allocator must be defined as: typedef std::pair<const int,double> MapValue_t; instead of typedef std::pair<const int,double> MapValue_t; usual map declaration is: template < class Key, class T, class Compare = less<Key>, class Allocator = allocator<pair<const Key,T> > > class map; The sad part is that I think this bug should have been detected by the implementation, since it's quite common, and it's curious everything compiled fine with such type change. I hope this helps, Ion