[Libpqxx-general] Building the cvs version with Visual Studio 9 - fix for pipeline.cxx

Richard B. Kreckel kreckel at ginac.de
Thu Jun 19 21:45:12 UTC 2008


Jeroen Vermeulen wrote:
>> I'm seeing the same problem with current SVN and g++-4.1.1. Regarding 
>> the definitino of PQXX_HAVE_DISTANCE: it goes awat if I define it, but 
>> it also appears like <pqxx/config.h> does not get included when 
>> pipeline.cxx is being compiled. Here's the compiler error message:
> 
> It's not supposed to be included directly.  This config item should go 
> into pqxx/config-compiler-internal.hxx (where indeed I do see it) and 
> that is included into src/pipeline.cxx through pqxx/compiler-internal.hxx.

Indeed, the configure script was to blame. PQXX_HAVE_DISTANCE wasn't in 
config-internal-compiler.h until I ran autogen.sh. (I though running 
autoreconf -i was enough, but that is not correct.) Sorry for the false 
alarm and thanks for the hint.

   -richy.
-- 
Richard B. Kreckel
<http://www.ginac.de/~kreckel/>


More information about the Libpqxx-general mailing list