On Thu, February 1, 2007 18:32, Trigve Siver wrote:
> Some compiler errore in trigger.hxx, tablereader.cxx, tablewriter.cxx, ...
>
> #ifdef PQXX_QUIET_DESTRUCTORS
> internal::disable_noticer Quiet(m_Trans.conn());
> #endif
Argh. This code exists only to work around a bug in Visual C++, so it
doesn't normally get tested.
One way to fix this should be to remove the "internal::" qualifier;
another, easier way would be to add a line
namespace internal { typedef pqxx::disable_noticer disable_noticer; }
to pqxx/include/connection_base.hxx, just below the definition of
disable_noticer.
Do those fix the problem for you? I'd like to use the first one in the
source tree, but post the second as an easy fix that people can apply
themselves.
Jeroen
_______________________________________________
Libpqxx-general mailing list
[email protected]
http://gborg.postgresql.org/mailman/listinfo/libpqxx-general