RE: ESQL/C tools like ctags, cxref, and cflow?
Posted in 1999
Topics: Connectivity: ESQL/C, 4GL & Embedded SQL, Platform-Specific Issues
Sujit, I attempted what you suggest with the -e (preprocess only) and -G(strip line numbers) but cxflow, ctags, and cxref don't like this file either. It has trouble with _SQCURSOR and the /* comments, it does only flag the *, in the generated file. It dies with a "cflow:errors in source file: filename". Dunno. Compiles and builds fine though. Thom ----Original Message Follows---- From: Sujit.Pal@bankofamerica.com To: Thomas Farrell <thom_farrell@hotmail.com> CC: informix-list@iiug.org Subject: RE: ESQL/C tools like ctags, cxref, and cflow? Date: Mon, 02 Aug 1999 11:07:30 -0700 MIME-Version: 1.0 From Sujit.Pal@bankofamerica.com Mon Aug 02 11:20:31 1999 Received: from [171.159.100.14] by hotmail.com (2.1) with ESMTP id MHotMailB96F2C6B00BAD82197E3AB9F640E81530; Mon Aug 02 11:20:31 1999 Received: from sfimail.bankofamerica.com (sfimail.bankamerica.com [171.159.101.13])by sfemail.bankofamerica.com (8.9.1/8.9.1) with ESMTP id LAA16604;Mon, 2 Aug 1999 11:11:57 -0700 (PDT) Received: from smtpsw03 (smtpsw03.bankamerica.com [165.48.14.143])by sfimail.bankofamerica.com (8.9.1/8.9.1) with ESMTP id LAA00861;Mon, 2 Aug 1999 11:12:14 -0700 (PDT) Message-id: <882567C1.0063ED14.00@notes.bankamerica.com> X-Lotus-FromDomain: BOFA@INET Thomas How about running the preprocessor to convert the .ec to .c and then run cflow, cxref, etc? You can do this with esqlc -keep option (I think). HTH Sujit Thomas Farrell <thom_farrell@hotmail.com> on 08/02/99 09:18:46 AM To: informix-list@iiug.org cc: (bcc: Sujit Pal) Subject: RE: ESQL/C tools like ctags, cxref, and cflow? William, So far I have been unable to run cflow, cxref, or ctags agianst an .ec file. For example with cflow, if I attempt it I recieve the message" "cflow: file with unknown suffix ignored: filename". If I copy the .ec file to a .c file and then run cflow, it chokes on the $ character, and the keywords sqlca, sqlerrd, SQLNOTFOUND, ROLLBACK, COMMIT, CLOSE, DATABASE, SET, CLOSE, etc.. I am running version 4.0 of Sun's CC on Solaris 2.6 if that makes any difference. From looking at Sun's website I notice that cflow, ctags, and cxref are now unbundled. Are you using a different version or is there an additional option I should be passing it? To be honest I don't have any documentation for it. Any suggestions? Anything would be greatly appreciated. Thom -----Original Message----- From: william@carsinfo.com [mailto:william@carsinfo.com] Sent: Friday, July 30, 1999 6:51 AM To: informix-list@iiug.org Subject: Re: ESQL/C tools like ctags, cxref, and cflow? In article <7nnfj3$96$1@news.xmission.com>, thom_farrell@hotmail.com says... > I hope this does not seem like a foolish question but are there tools >similar to ctags, cxref, and cflow for ESQL/C? Any information would be >greatly appreciated. I know that I could run the C tools against the >generated C files but that produces a fairly large amount of extranous >information. You can run ctags, cxref, and so forth on the *.ec files, too; or perhaps I'm misunderstanding your question. -- William Harris william@carsinfo.com _______________________________________________________________ Get Free Email and Do More On The Web. Visit http://www.msn.com _______________________________________________________________ Get Free Email and Do More On The Web. Visit http://www.msn.com