Re: Changes to include files

Поиск
Список
Период
Сортировка
От Michael Meskes
Тема Re: Changes to include files
Дата
Msg-id 20010119102809.A8931@feivel.credativ.de
обсуждение исходный текст
Ответ на Re: Changes to include files  (Thomas Lockhart <lockhart@alumni.caltech.edu>)
Ответы Re: Re: Changes to include files  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Thu, Jan 18, 2001 at 01:58:20PM +0000, Thomas Lockhart wrote:
> I haven't been able to update my cvs sources for a few days, but on my
> machine preproc.y produces 321 shift/reduce errors. Does it still, or is
> that patched up?

Hmm, I never saw that:

postgres@feivel:~/pgsql/src/interfaces/ecpg.mm/preproc$ make preproc.c
bison -y -d  preproc.y
mv y.tab.c ./preproc.c
mv y.tab.h ./preproc.h

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'
...

After that I get lots of warnings and parse errors in several include files.

Michael

-- 
Michael Meskes
Michael@Fam-Meskes.De
Go SF 49ers! Go Rhein Fire!
Use Debian GNU/Linux! Use PostgreSQL!


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

Предыдущее
От: Hannu Krosing
Дата:
Сообщение: Re: Standards URL's
Следующее
От: Travis Bauer
Дата:
Сообщение: Re: PlPerl.c patch