Received: from clubserv.rp-online.de (clubserv.rp-online.de [149.221.232.11]) by hub.org (8.9.3/8.9.1) with ESMTP id BAA67020; Mon, 26 Apr 1999 01:28:58 -0400 (EDT) (envelope-from Michael.Meskes@gmx.net) Received: from pc63.rp-plus.de (as11-asy40.rp-plus.de [149.221.93.168]) by clubserv.rp-online.de (8.9.1a/8.9.1) with ESMTP id HAA26971; Mon, 26 Apr 1999 07:28:02 +0200 (METDST) Received: (from meskes@localhost) by pc63.rp-plus.de (8.9.3/8.9.0/Debian/GNU) id RAA00814; Sat, 24 Apr 1999 17:23:35 +0200 Date: Sat, 24 Apr 1999 17:23:35 +0200 From: Michael Meskes To: Pavel PaJaSoft Janousek Cc: Michael Meskes , PgSQL Interfaces Subject: Re: [INTERFACES] Comment in ECPG - again Message-ID: <19990424172335.D790@gmx.net> Mail-Followup-To: Pavel PaJaSoft Janousek , Michael Meskes , PgSQL Interfaces References: <00b001be8d5e$6fc9f020$0200a8c0@server.fonet2.cz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.4i In-Reply-To: <00b001be8d5e$6fc9f020$0200a8c0@server.fonet2.cz>; from Pavel PaJaSoft Janousek on Fri, Apr 23, 1999 at 09:53:51AM +0200 On Fri, Apr 23, 1999 at 09:53:51AM +0200, Pavel PaJaSoft Janousek wrote: > Is correct way: ESQL source -> CPP -> ECPG -> C/C++ compiler? I never tried this, but it will definitely work. I use ESQL source -> ECPG -> CPP -> C/C++. Works well too, except that you have to be syntactically correct even if you use #if 0. But then the commercial products cannot handle CPP commands either to the best of my knowledge. > I use EGCS, where I found C++ preprocesor? Parse this preprocessor only It's cpp. Yes, it comes with egcs too. > #ifdef etc... commands? Doesn't it say error on exec sql statement? It shouldn't. But as I said I never tried. Michael -- Michael Meskes | Go SF 49ers! Th.-Heuss-Str. 61, D-41812 Erkelenz | Go Rhein Fire! Tel.: (+49) 2431/72651 | Use Debian GNU/Linux! Email: Michael.Meskes@gmx.net | Use PostgreSQL!