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