libpqxx

Поиск
Список
Период
Сортировка
От Julie Russell
Тема libpqxx
Дата
Msg-id CAEDLLCOCGBPMAAFIFOCOELECAAA.julie.russell@throughput.com.au
обсуждение исходный текст
Ответы Re: libpqxx
Список 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.




В списке pgsql-interfaces по дате отправления:

Предыдущее
От: "Jeroen T. Vermeulen"
Дата:
Сообщение: Re: libpq++ and kdevelop
Следующее
От: "Jeroen T. Vermeulen"
Дата:
Сообщение: Re: libpqxx