Skip site navigation (1) Skip section navigation (2)

Re: ECPG and C++ compilation

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Demetres Pantermalis <dpant(at)intracom(dot)gr>
Cc: pgsql-interfaces(at)postgresql(dot)org
Subject: Re: ECPG and C++ compilation
Date: 2003-02-20 17:16:05
Message-ID: Pine.LNX.4.44.0302201815100.2544-100000@peter.localdomain (view raw, whole thread or download thread mbox)
Lists: pgsql-interfaces
Demetres Pantermalis writes:

> What I get is the following error:
> test2.pgc: In function `int main()':
> test2.pgc:71: `sizeof' applied to incomplete type `varchar_name'
> test2.pgc:101: `sizeof' applied to incomplete type `varchar_name'
> Can anybody suggest a method to overcome this problem?

Use a C compiler to compile C code and a C++ compiler to compile C++ code,
and then link them together if you are so inclined.

Peter Eisentraut   peter_e(at)gmx(dot)net

In response to


pgsql-interfaces by date

Next:From: Rudy LippanDate: 2003-02-20 22:33:49
Subject: Re: Perl interfacing to old and new backends.
Previous:From: Demetres PantermalisDate: 2003-02-20 15:34:50
Subject: ECPG and C++ compilation

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group