ECPG and C++ compilation

Поиск
Список
Период
Сортировка
От Demetres Pantermalis
Тема ECPG and C++ compilation
Дата
Msg-id NDBBLJPIEGAHHANHMMBBOEODCNAA.dpant@intracom.gr
обсуждение исходный текст
Ответы Re: ECPG and C++ compilation
Список pgsql-interfaces
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?



В списке pgsql-interfaces по дате отправления:

Предыдущее
От: Christoph Haller
Дата:
Сообщение: structured host variable arrays within ecpg
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: ECPG and C++ compilation