Re: ECPG and C++ compilation

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: ECPG and C++ compilation
Дата
Msg-id Pine.LNX.4.44.0302201815100.2544-100000@peter.localdomain
обсуждение исходный текст
Ответ на ECPG and C++ compilation  ("Demetres Pantermalis" <dpant@intracom.gr>)
Ответы Re: ECPG and C++ compilation
Список 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@gmx.net



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

Предыдущее
От: "Demetres Pantermalis"
Дата:
Сообщение: ECPG and C++ compilation
Следующее
От: Rudy Lippan
Дата:
Сообщение: Re: Perl interfacing to old and new backends.