Re: Changes to include files

From: Michael Meskes <meskes(at)postgresql(dot)org>
To: PostgreSQL Hacker <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Changes to include files
Date: 2001-01-19 09:28:09
Message-ID: 20010119102809.A8931@feivel.credativ.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)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(at)Fam-Meskes(dot)De
Go SF 49ers! Go Rhein Fire!
Use Debian GNU/Linux! Use PostgreSQL!

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Hannu Krosing 2001-01-19 10:51:31 Re: 7.0.3 reproduceable serious select error
Previous Message Zeugswetter Andreas SB 2001-01-19 08:15:01 AW: AW: AW: AW: AW: AW: Re: tinterval - operator proble ms o n AI X