Hi all, I am using libpqxx since version 2.5. I have just downloaded 2.6.6 version and tried to compile it. It produces the following error: make[1]: Entering directory `/home/simon/software/libpqxx-2.6.6/src' if /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I../include -I../include -I/usr/local/pgsql/include -g -O2 -Werror -MT connection_base.lo -MD -MP -MF ".deps/connection_base.Tpo" -c -o connection_base.lo connection_base.cxx; \ then mv -f ".deps/connection_base.Tpo" ".deps/connection_base.Plo"; else rm -f ".deps/connection_base.Tpo"; exit 1; fi g++ -DHAVE_CONFIG_H -I../include -I../include -I/usr/local/pgsql/include -g -O2 -Werror -MT connection_base.lo -MD -MP -MF .deps/connection_base.Tpo -c connection_base.cxx -fPIC -DPIC -o .libs/connection_base.o connection_base.cxx: In member function 'pqxx::result pqxx::connection_base::prepared_exec(const std::string&, const char* const*, int)': connection_base.cxx:837: error: 'a' was not declared in this scope connection_base.cxx:853: error: 'a' was not declared in this scope make[1]: *** [connection_base.lo] Error 1 make[1]: Leaving directory `/home/simon/software/libpqxx-2.6.6/src' make: *** [all-recursive] Error 1
I have added int at line 837 and changed: s.parameters[a] to s.parameters[n]. Is it right ? Thanks for your help Simon _______________________________________________ Libpqxx-general mailing list [email protected] http://gborg.postgresql.org/mailman/listinfo/libpqxx-general
