Re: Re: Changes to include files

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Michael Meskes <meskes(at)postgresql(dot)org>
Cc: PostgreSQL Hacker <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Re: Changes to include files
Date: 2001-01-19 15:29:15
Message-ID: 8442.979918155@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Michael Meskes <meskes(at)postgresql(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Meskes 2001-01-19 15:34:07 Re: Re: Changes to include files
Previous Message Tom Lane 2001-01-19 15:17:46 Re: Re: Getting configure to notice link-time vs run-time failures