ECPG & Mac OS X - Mailing list pgsql-general

From Richard Connamacher
Subject ECPG & Mac OS X
Date
Msg-id 200409150528.i8F5SEqS023375@indieimage.com
Whole thread Raw
Responses Re: ECPG & Mac OS X  (Michael Meskes <meskes@postgresql.org>)
List pgsql-general
I was looking through the docs, ECPG looks like a great tool for developing client
applications.

Anyone know if it's possible to set it up for use with Objective C in XCode on Mac OS X?
XCode allows you to set your own custom build tool, which I could replace with a shell script
that calls ecpg, saves a converted file, which it then passes that on to gcc. What I don't know
if if this'll screw up any of XCode's IDE features - such as, will line numbers of errors
reported by gcc match up with line numbers in the source file, which XCode uses to hilite
lines with errors?

Also, anyone know if it can parse Objective C files? They're basically identical to c language
files, with two added constructs: method calls, which are surrounded by brackets:

     String *helloText = [String stringWithCString:"Hello"];

and objective c directives, which all begin with a '@':

     String *moreHelloText = @"Hello again";

Will this conflict with ecpg's ability to parse a file?

Thanks,
Rich

pgsql-general by date:

Previous
From: Nick Hajek
Date:
Subject: 8.0.0 beta 2, void type
Next
From: Vincent.Desloges@alcatel.fr
Date:
Subject: support on postgres