BUG #3917: Compilation error on VC8.0

From: "Olessia" <soukhareva(at)pcigeomatics(dot)com>
To: pgsql-bugs(at)postgresql(dot)org
Subject: BUG #3917: Compilation error on VC8.0
Date: 2008-01-31 15:48:05
Message-ID: 200801311548.m0VFm5cI038696@wwwmaster.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs


The following bug has been logged online:

Bug reference: 3917
Logged by: Olessia
Email address: soukhareva(at)pcigeomatics(dot)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

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

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2008-01-31 19:10:42 Re: BUG #3917: Compilation error on VC8.0
Previous Message Hubert FONGARNAND 2008-01-31 13:26:26 BUG #3916: type of "xxxx" does not match that when preparing the plan