Received: from www.flamingo.cz (root@fwd.cz [194.212.23.91]) by hub.org (8.9.3/8.9.1) with ESMTP id XAA04186; Fri, 23 Apr 1999 23:00:15 -0400 (EDT) (envelope-from janousek@fonet.cz) Received: from router.fonet2.cz (ts3-1.bm.cesnet.cz [194.212.133.32]) by www.flamingo.cz (8.8.8/8.8.8) with ESMTP id FAA01462; Sat, 24 Apr 1999 05:00:07 +0200 Received: from server (server.fonet2.cz [192.168.0.2]) by router.fonet2.cz (8.9.1/8.9.1) with SMTP id KAA04945; Fri, 23 Apr 1999 10:01:22 GMT Message-ID: <00b001be8d5e$6fc9f020$0200a8c0@server.fonet2.cz> From: "Pavel PaJaSoft Janousek" To: "Michael Meskes" Cc: "PgSQL Interfaces" Subject: Re: [INTERFACES] Comment in ECPG - again Date: Fri, 23 Apr 1999 09:53:51 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 4.72.3110.5 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 Hi, >> So, is ECPG only ESQL compiler (translator) or complex translator from >> ESQL to C/C++? I think, that ECPG want be complex translator => it may know >> also preprocesor directives.... > >Please do not mix C/C++ with CPP. After all all CPP commands do not belong >into the C language at all. I wrote this bad before... - i know, that #if .. etc is CPP commands, so my question is this: Is correct way: ESQL source -> CPP -> ECPG -> C/C++ compiler? I use EGCS, where I found C++ preprocesor? Parse this preprocessor only #ifdef etc... commands? Doesn't it say error on exec sql statement? ------------------------------------------------------------------------- Pavel Janousek (PaJaSoft) FoNet, spol. s r. o. Vyvoj software, sprava siti, Unix, Web, Y2K Anenska 11, 602 00 Brno E-mail: mailto:Janousek@FoNet.Cz Tel.: +420 5 4324 4749 SMS: mailto:P.Janousek@SMS.Paegas.Cz Fax.: +420 5 4324 4751 WWW: http://WWW.FoNet.Cz/ E-mail: mailto:Info@FoNet.Cz --------------------------------------------------------------------------