Re: multiple exception definition in pg_type.h -> error compiling postgres support in Qt with gcc v3.2 (SuSE 8.1)

Поиск
Список
Период
Сортировка
От ir. F.T.M. van Vugt bc.
Тема Re: multiple exception definition in pg_type.h -> error compiling postgres support in Qt with gcc v3.2 (SuSE 8.1)
Дата
Msg-id 200210162304.32295.ftm.van.vugt@foxi.nl
обсуждение исходный текст
Ответ на Re: multiple exception definition in pg_type.h -> error compiling postgres support in Qt with gcc v3.2 (SuSE 8.1)  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-bugs
> > May I ask why you don't want to go with something like:
> > #define DESCR(x) typedef int postgresql_foo_bar
>
> Because it doesn't work.
> $ cat z.c
> typedef int postgresql_foo_bar;
> typedef int postgresql_foo_bar;
> $ gcc -c z.c
> z.c:2: redefinition of `postgresql_foo_bar'
> z.c:1: `postgresql_foo_bar' previously declared here

Ah, you got me there, Tom.

Guess I had to know better than to mess with you C-guys unless I'd better m=
ake=20
sure I'd double-checked ;-))


Anyway, thanx again and guys are doing a great job !!



Frank.

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

Предыдущее
От: Cristóvão Dalla Costa
Дата:
Сообщение: bug in create table with serial
Следующее
От: Tom Lane
Дата:
Сообщение: Re: bug in create table with serial