Benjamin Kosnik wrote:
This is now in. The final patch is as attached.
Quick question:
-pedantic (well, -pedantic-errors actually) give's:
include/c++/4.3.0/parallel/partial_sum.h:107: error: ISO C++ forbids variable length array ‘borders’
the offending line being:
difference_type borders[num_threads + 2];
Is this necessary? What side-effects would a vector cause? If, as a hack, I changed it to vector<difference_type> borders(num_threads+2) and used &(*borders.begin()) or something wherever the array is expected would it cause big issues?
Cheers,
Chris