On Sat, Jan 24, 2015 at 06:13:04PM +0100, Tobias Burnus wrote: > if (s1->as->type == AS_EXPLICIT) > - for (i = 0; i < s1->as->rank + s1->as->corank; i++) > + for (i = 0; i < s1->as->rank + std::max(0, s1->as->corank-1); i++)
Doesn't this require '#include <algorithms>'? I suspect that you are depending on namespace pollution via some other header (coretypes.h?). -- Steve