--- Comment #5 from j dot s dot sebastian at gmail dot com 2009-01-20
15:13 ---
It seems with libstdc++ from svn trunk the bug disappears.
Both
__gnu_parallel::sort(v.begin(), v.end());
and
__gnu_parallel::sort(v.begin(), v.end(),std::less());
now compile and run.
At the
--- Comment #1 from j dot s dot sebastian at gmail dot com 2009-01-19
13:50 ---
After some trial and error, I found it does compile (on same system) if I
modify the code as follows, to use the 3-argument version of sort:
#include
#include
int main()
{
std::vector v(100
ried using none,
-march=i686, and -march=native, with identical results.
This is an up-to-date ubuntu 8.10, by the way.
--
Summary: Parallel mode example code does not compile
Product: gcc
Version: 4.3.2
Status: UNCONFIRMED
Severity: normal
P