by =?ISO-8859-1?Q?Hans-Bernhard_Br=F6ker?= <HBBroeker@[EMAIL PROTECTED]
>
May 9, 2008 at 05:33 PM
iavian wrote:
> I am trying to compile a code that includes header from both oracle
> and postgres
That's seriously unlikely to work. Database systems are jealous beasts
--- they don't like sharing relations with the same program.
> /usr/local/pgsql/include/server/c.h:420: error: conflicting
> declaration 'typedef struct varlena text'
> /opt/oracle/product/10.2.0/rdbms/public/oratypes.h:196: error: 'text'
> has a previous declaration as `typedef oratext text'
> How do i fix this ?
By picking one DBMS for your app.
--
comp.lang.c.moderated - moderation address: clcm@[EMAIL PROTECTED]
-- you must
have an appropriate newsgroups line in your header for your mail to be
seen,
or the newsgroup name in square brackets in the subject line. Sorry.