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

libpqxx

From: "Julie Russell" <julie(dot)russell(at)throughput(dot)com(dot)au>
To: <pgsql-interfaces(at)postgresql(dot)org>
Subject: libpqxx
Date: 2003-11-11 18:25:05
Message-ID: CAEDLLCOCGBPMAAFIFOCOELECAAA.julie.russell@throughput.com.au (view raw or flat)
Thread:
Lists: pgsql-interfaces
Hi Everyone,

I have migrated to libpqxx which seems to fix up all the errors I was
getting from libpq++. However, the class I implemented the database stuff in
compiles fine, but as soon as I include that class in another class it gives
me compiler errors from deep in libpqxx.

Following is the some of the type of output I'm getting:

In file included from DatabaseHandler.h:22,
from Scheduler.h:32,
from Scheduler.cpp:17:
/usr/include/pqxx/connection.h:185: error: extraneous `int' ignored
/usr/include/pqxx/connection.h:185: error: parse error before `)' token
/usr/include/pqxx/connection.h: In member function `const char*
pqxx::Connection::DbName() const':
/usr/include/pqxx/connection.h:128: error: `m_Conn' undeclared (first use
this
function)
/usr/include/pqxx/connection.h:128: error: (Each undeclared identifier is
reported only once for each function it appears in.)
/usr/include/pqxx/connection.h: In member function `const char*
pqxx::Connection::Options() const':

I assuming that it's a C/C++ compatibility problem, however I am so new to
both languages, I am not sure. Has anyone come across this before? Any
suggestions on how to fix it?

Regards,
Julie.



Responses

  • Re: libpqxx at 2003-11-11 18:42:56 from Jeroen T. Vermeulen

pgsql-interfaces by date

Next:From: Jeroen T. VermeulenDate: 2003-11-11 18:42:56
Subject: Re: libpqxx
Previous:From: Jeroen T. VermeulenDate: 2003-11-10 16:41:08
Subject: Re: libpq++ and kdevelop

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group