Re: [INTERFACES] Comment in ECPG - again - Mailing list pgsql-interfaces

From Pavel PaJaSoft Janousek
Subject Re: [INTERFACES] Comment in ECPG - again
Date
Msg-id 00b001be8d5e$6fc9f020$0200a8c0@server.fonet2.cz
Whole thread Raw
Responses Re: [INTERFACES] Comment in ECPG - again
List pgsql-interfaces
    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
--------------------------------------------------------------------------




pgsql-interfaces by date:

Previous
From: "Pavel PaJaSoft Janousek"
Date:
Subject: Re: [INTERFACES] ecpg cursors and scope
Next
From: Tom Lane
Date:
Subject: Re: [INTERFACES] JDBC next() method