17 Aug
2008
17 Aug
'08
7:17 p.m.
Bob Jamison schrieb:
That would come from std::sort not being defined. I would suggest adding
#include <algorithm>
to the top of that file. Possibly it is getting picked up by other includes on other people's machines, but not on yours. Including it explicitly should help. We get the same problem sometimes with <string.h> being included "automatically" on some people's systems, but not on others.
Yep, that missing include comes from a change I made and it compiles just fine for me. Thanks for the hint that this is a potential problem on some machines. I now added it to geom.cpp (rev. 19672). I don't need to put this into #ifdef's as with config.h, though, do I?
Max