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 D3CE4D1B521 for ; Tue, 11 Nov 2003 22:44:18 +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 46634-01 for ; Tue, 11 Nov 2003 18:43:50 -0400 (AST) Received: from gizmo13bw.bigpond.com (unknown [144.140.70.23]) by svr1.postgresql.org (Postfix) with SMTP id D35FBD1B52F for ; Tue, 11 Nov 2003 18:43:42 -0400 (AST) Received: (qmail 27719 invoked from network); 11 Nov 2003 22:42:20 -0000 Received: from unknown (HELO udderish) (144.135.24.69) by gizmo13bw.bigpond.com with SMTP; 11 Nov 2003 22:42:20 -0000 Received: from cpe-203-51-177-154.vic.bigpond.net.au ([203.51.177.154]) by bwmam01bpa.bigpond.com(MAM REL_3_3_2d 8/3221729); 12 Nov 2003 08:42:29 From: "Julie Russell" To: "Jeroen T. Vermeulen" Cc: Subject: Re: libpqxx Date: Wed, 12 Nov 2003 09:42:28 +1100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 In-Reply-To: <20031111184256.GA4814@xs4all.nl> X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200311/12 X-Sequence-Number: 4570 Hi there, I downloaded libpqxx-2.0.0 from http://gborg.postgresql.org/project/libpqxx/download/download.php I implemented the code in class DatabaseHandler which compiles fine, but as soon as I #include "DatabaseHandler.h" in any other class, it pulls up compiler errors from libpqxx. I do have #ifdefs so the header shouldn't be included twice... Any ideas? Cheers, Julie. > -----Original Message----- > From: pgsql-interfaces-owner@postgresql.org > [mailto:pgsql-interfaces-owner@postgresql.org]On Behalf Of Jeroen T. > Vermeulen > Sent: Wednesday, 12 November 2003 5:43 AM > To: Julie Russell > Cc: pgsql-interfaces@postgresql.org > Subject: Re: [INTERFACES] libpqxx > > > *This message was transferred with a trial version of CommuniGate(tm) Pro* > On Wed, Nov 12, 2003 at 05:25:05AM +1100, Julie Russell wrote: > > > > /usr/include/pqxx/connection.h:185: error: extraneous `int' ignored > > /usr/include/pqxx/connection.h:185: error: parse error before `)' token > > Looks like you're using an outdated version... Have you looked at the > 2.0 release? See http://pqxx.tk/ (slightly easier than looking it up > at GBorg). > > Out of interest, which version were you using and where did you get it > from? Because I don't recall ever seeing this problem before with 1.5.1, > which has been the stable release for many months and is still fairly > widely used AFAIK. > > > Jeroen > > > ---------------------------(end of broadcast)--------------------------- > TIP 9: the planner will ignore your desire to choose an index scan if your > joining column's datatypes do not match > >