Re: Re: Changes to include files

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Re: Changes to include files
Дата
Msg-id 8442.979918155@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Changes to include files  (Michael Meskes <meskes@postgresql.org>)
Ответы Re: Re: Changes to include files  (Michael Meskes <meskes@postgresql.org>)
Список pgsql-hackers
Michael Meskes <meskes@postgresql.org> writes:
> Seems to work fine here. But it's pgc.c that does not work anymore:

> gcc -O2 -Wall -Wmissing-prototypes -Wmissing-declarations
> -I../../../../src/include -I./../include -DMAJOR_VERSION=2 -DMINOR_VERSION=8
> -DPATCHLEVEL=0 -DINCLUDE_PATH=\"/usr/local/pgsql/include\"   -c -o pgc.o
> pgc.c
> In file included from ../../../../src/include/miscadmin.h:26,
>                  from pgc.l:24:
> ../../../../src/include/storage/ipc.h:43: parse error before `IpcSemaphoreKey'
> ../../../../src/include/storage/ipc.h:43: warning: type defaults to `int' in declaration of `IpcSemaphoreKey'
> ...

Did you get the update I made on 1/14 to #include "postgres.h" at the
head of pgc.l ?
        regards, tom lane


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Re: Getting configure to notice link-time vs run-time failures
Следующее
От: Tom Lane
Дата:
Сообщение: Re: SegFault in 7.0.3 libpq.so.2.1