[Libpqxx-general] Building the cvs version with Visual Studio 9 - fix for pipeline.cxx
Andrew Maclean
andrew.amaclean at gmail.com
Fri Jun 13 06:28:07 UTC 2008
I am building with VS 9 and postgresql 8.8.3. You need a minor fix to
the file pipeline.cxx
The build works provided that in the file pipeline.cxx you replace
distance in lines 206 and 315 with std::distance. This function is no
longer in the anonymous namespace.
Oddly enough the other distance functions in the pqxxassert function
on lines 347 and 369 do not trigger an error or in the template
function on line 36.
Thanks
Andrew
--
___________________________________________
Andrew J. P. Maclean
Centre for Autonomous Systems
The Rose Street Building J04
The University of Sydney 2006 NSW
AUSTRALIA
Ph: +61 2 9351 3283
Fax: +61 2 9351 7474
URL: http://www.acfr.usyd.edu.au/
___________________________________________
--
___________________________________________
Andrew J. P. Maclean
Centre for Autonomous Systems
The Rose Street Building J04
The University of Sydney 2006 NSW
AUSTRALIA
Ph: +61 2 9351 3283
Fax: +61 2 9351 7474
URL: http://www.acfr.usyd.edu.au/
___________________________________________
More information about the Libpqxx-general
mailing list