Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watnot!watmath!clyde!cbatt!cwruecmp!hal!ncoast!allbery From: allbery@ncoast.UUCP Newsgroups: comp.lang.c++,comp.databases Subject: UNIFY compatibility ... argh!!! Message-ID: <2328@ncoast.UUCP> Date: Tue, 7-Apr-87 22:46:55 EST Article-I.D.: ncoast.2328 Posted: Tue Apr 7 22:46:55 1987 Date-Received: Sat, 11-Apr-87 05:09:42 EST References: <382@sdd.UUCP> <607@geac.UUCP> Reply-To: allbery@ncoast.UUCP (Brandon Allbery) Followup-To: comp.lang.c++ Distribution: world Organization: Cleveland Public Access UN*X, Cleveland, Oh Lines: 38 Xref: utgpu comp.lang.c++:199 comp.databases:162 As quoted from <607@geac.UUCP> by len@geac.UUCP (Leonard Vanek): +--------------- | However, for us SQL users there is another problem. Can a C++ | program be passed through the various SQL preprocessors? If yes, | the key word "delete" in a C++ program will confuse the SQL | preprocessor. If not, the SQL code may have to be segregated in C | subroutines in order to preprocess it, and the problem of the two | deletes goes away because no source code ever goes through both | the C++ compiler and the SQL preprocessor. | | Does anyone else have thoughts on this problem? Note that I have | added comp.databases to the distribution list. +--------------- Informix ESQL/C won't... providing that C++ will accept the generated C code. ESQL/C consists of statements from a $ in column 1 to a semicolon; it only scans from a $, so variables to be known to ESQL/C have to be declared with $ long n ; or similar. Thus, fancy C++ types probably can't be made visible to ESQL/C. The generated code still has "delete" in it, but in a quoted string. Note: I only know this much from analyzing ESQL/C intermediate code from Informix-4GL. It's the only way I can explain the code I see generated. Any ESQL/C gurus want to comment? ++Brando -- ____ ______________ / \ / __ __ __ \ Brandon S. Allbery | QUOTE OF THE DAY: ___ | /__> / \ / \ aXcess Company | / \ | | `--, `--, 6615 Center St. #A1-105 | ` | | \__/ \__/ \__/ Mentor, OH 44060-4101 | \____/ \______________/ +1 216 974 9210 | cbatt!cwruecmp!ncoast!allbery ncoast!allbery%case.CSNET@relay.CS.NET BALLBERY (UUCP) (CSNET/Internet) (MCIMail)