I was able to run all the tests under VC++8. Along the way, I had to make
two more changes in the test cases:
1. Line 51 of test085.cxx, I had to change from:
for (ITER arg = --patend; i > 0; --arg, --i)
{
...
}
to:
for (ITER arg = patend; i > 0; --i)
{
--arg;
...
}
2. Line 69 of test083.cxx need to be changed from:
for (result::const_iterator r = R.begin(); r != R.end(); --i, ++r)
...
to:
++i;
for (result::const_iterator r = R.begin(); r != R.end(); ++r) {
...
}
Both changes are needed to prevent a (forward) iterator from decrementing
past the first element.
Cheer!
Xiaofeng
_______________________________________________
Libpqxx-general mailing list
[email protected]
http://gborg.postgresql.org/mailman/listinfo/libpqxx-general