X-Original-To: pgsql-interfaces-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 07F80D1B4F2 for ; Mon, 10 Nov 2003 16:41:43 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 34445-10 for ; Mon, 10 Nov 2003 12:41:12 -0400 (AST) Received: from smtpzilla5.xs4all.nl (smtpzilla5.xs4all.nl [194.109.127.141]) by svr1.postgresql.org (Postfix) with ESMTP id C2937D1B51E for ; Mon, 10 Nov 2003 12:41:11 -0400 (AST) Received: from xs1.xs4all.nl (xs1.xs4all.nl [194.109.21.2]) by smtpzilla5.xs4all.nl (8.12.9/8.12.9) with ESMTP id hAAGf92X077507; Mon, 10 Nov 2003 17:41:09 +0100 (CET) Received: from xs1.xs4all.nl (jtv@localhost.xs4all.nl [127.0.0.1]) by xs1.xs4all.nl (8.12.10/8.12.9) with ESMTP id hAAGf9xE089334; Mon, 10 Nov 2003 17:41:09 +0100 (CET) (envelope-from jtv@xs4all.nl) Received: (from jtv@localhost) by xs1.xs4all.nl (8.12.10/8.12.9/Submit) id hAAGf8mx089333; Mon, 10 Nov 2003 17:41:08 +0100 (CET) (envelope-from jtv) Date: Mon, 10 Nov 2003 17:41:08 +0100 From: "Jeroen T. Vermeulen" To: Julie Russell Cc: pgsql-interfaces@postgresql.org Subject: Re: libpq++ and kdevelop Message-ID: <20031110164108.GE84376@xs4all.nl> Mail-Followup-To: Julie Russell , pgsql-interfaces@postgresql.org References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.1i X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200311/8 X-Sequence-Number: 4566 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