Обсуждение: BUG #3917: Compilation error on VC8.0

Поиск
Список
Период
Сортировка

BUG #3917: Compilation error on VC8.0

От
"Olessia"
Дата:
The following bug has been logged online:

Bug reference:      3917
Logged by:          Olessia
Email address:      soukhareva@pcigeomatics.com
PostgreSQL version: 8.2.6
Operating system:   Windows XP
Description:        Compilation error on VC8.0
Details:

While compiling libpqxx-2.6.9 on VC8.0 the following error occurs:

c:\tools\libpqxx-2.6.9\include\pqxx\trigger.hxx(70) : error C2039:
'disable_noticer' : is not a member of 'pqxx::internal'


A successful build was achieved by modifying
libpqxx-2.6.9\include\pqxx\connection_base.hxx file by brining 'class
PQXX_LIBEXPORT disable_noticer' into the internal namespace.


from:
--------------------------------------------------------
...
/// Temporarily disable the notice processor
class PQXX_LIBEXPORT disable_noticer : scoped_noticer
{
public:
  explicit disable_noticer(connection_base &c) :
    scoped_noticer(c, new nonnoticer) {}
};

namespace internal
{
...
} // namespace pqxx::internal
-------------------------------------------------------

to:
-------------------------------------------------------
...
namespace internal
{
/// Temporarily disable the notice processor
class PQXX_LIBEXPORT disable_noticer : scoped_noticer
{
public:
  explicit disable_noticer(connection_base &c) :
    scoped_noticer(c, new nonnoticer) {}
};
...
} // namespace pqxx::internal

-------------------------------------------------------

Re: BUG #3917: Compilation error on VC8.0

От
Tom Lane
Дата:
"Olessia" <soukhareva@pcigeomatics.com> writes:
> While compiling libpqxx-2.6.9 on VC8.0 the following error occurs:

This isn't the right place to report libpqxx problems; I'm not sure
if its authors read this list or not.  Instead report the problem
at http://pqxx.org/

            regards, tom lane