The following bug has been logged online:

Bug reference:      3917
Logged by:          Olessia
Email address:      [EMAIL PROTECTED]
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

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

---------------------------(end of broadcast)---------------------------
TIP 3: Have you checked our extensive FAQ?

               http://www.postgresql.org/docs/faq

Reply via email to