Skip site navigation (1) Skip section navigation (2)

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search for
  Advanced Search

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: Thu, 31 Jan 2008 15:48:05 GMT
  • Message-id: <200801311548(dot)m0VFm5cI038696(at)wwwmaster(dot)postgresql(dot)org>

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

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



Home | Main Index | Thread Index

Privacy Policy | PostgreSQL Archives hosted by Command Prompt, Inc. | Designed by tinysofa
Copyright © 1996 – 2008 PostgreSQL Global Development Group