pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Demetres Pantermalis <dpant@intracom.gr>
To: pgsql-interfaces@postgresql.org
Subject: ECPG and C++ compilation
Date: Thu, 20 Feb 2003 17:34:50 +0200
Message-ID: <NDBBLJPIEGAHHANHMMBBOEODCNAA.dpant@intracom.gr> (raw)

Has anybody tried to compile the source of test2.pgc (included in the
sources postgresql-7.3.1/src/interfaces/ecpg/test dir) with a C++ compiler??
I've tried this on Solaris 8 with the SUN compiler (CC: Sun WorkShop 6
update 1 C++ 5.2 Patch 109508-08 2002/03/07) as well as with g++ (3.1)

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?




view thread (7+ messages)  latest in thread

Message-ID: <NDBBLJPIEGAHHANHMMBBOEODCNAA.dpant@intracom.gr>
Permalink:  ../NDBBLJPIEGAHHANHMMBBOEODCNAA.dpant@intracom.gr/
Also on:    postgresql.org/message-id/NDBBLJPIEGAHHANHMMBBOEODCNAA.dpant@intracom.gr

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: dpant@intracom.gr
  Subject: Re: ECPG and C++ compilation
  In-Reply-To: <NDBBLJPIEGAHHANHMMBBOEODCNAA.dpant@intracom.gr>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox