Re: libpq++ and kdevelop

From: "Jeroen T(dot) Vermeulen" <jtv(at)xs4all(dot)nl>
To: Julie Russell <julie(dot)russell(at)throughput(dot)com(dot)au>
Cc: pgsql-interfaces(at)postgresql(dot)org
Subject: Re: libpq++ and kdevelop
Date: 2003-11-10 16:41:08
Message-ID: 20031110164108.GE84376@xs4all.nl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces

On Mon, Nov 10, 2003 at 09:57:24AM +1100, Julie Russell wrote:
>
> I am thinking that it is seeing the libraries perfectly but something else
> is wrong, because the compiler errors are inside the libpq++ itself... I am
> very new to both C and C++, so this is all very confusing to me.

Actually, libpq++ is fairly outdated. You may want to take a look at the
newer libpqxx instead: http://pqxx.tk/

> In file included from /usr/include/pgsql/libpq++.h:30,
> from DatabaseHandler.h:26,
> from DatabaseHandler.cpp:18:
> /usr/include/pgsql/libpq++/pgconnection.h:49: error: syntax error before `{'
> token

Could it be that there's an unclosed brace or parenthesis, or a missing
semicolon somewhere above the point where this header is included?

Jeroen

In response to

Browse pgsql-interfaces by date

  From Date Subject
Next Message Julie Russell 2003-11-11 18:25:05 libpqxx
Previous Message Julie Russell 2003-11-09 22:57:24 Re: libpq++ and kdevelop