On 10/05/2006 02:18 AM, Jens Müller wrote:
Args - sorry. I also put latest boost in /usr/local some time ago to test some stuff... Sorry for the confusion ...
But I removed that symlink and am now using Boost from portage, and even re-emerged it to make sure its libs are not built against different headers (you're probably only using headers anyway, right?), and still the problem persists:
graph.cc:393: instantiated from here /usr/include/boost/random/mersenne_twister.hpp:103: error: 'gen' cannot be used as a function
Ok, I think I understand now what the problem is. I'm using a "size_t" type to seed the generator, which maps to an "unsigned long", but the seeding procedure expects an "unsigned int", and those are different types in amd64, so it chooses the wrong overload and all goes bad. I've fixed this in the latest SVN... Would you care to check if it is working now? As you can probably tell, I've never compiled this on an 64 bit machine before, so I'm interested to know if there are any bugs left. Thanks. -- Tiago de Paula Peixoto <tiago@forked.de>