Re: Re: Changes to include files - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Re: Changes to include files
Date
Msg-id 8442.979918155@sss.pgh.pa.us
Whole thread Raw
In response to Re: Changes to include files  (Michael Meskes <meskes@postgresql.org>)
Responses Re: Re: Changes to include files
List 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 by date:

Previous
From: Tom Lane
Date:
Subject: Re: Re: Getting configure to notice link-time vs run-time failures
Next
From: Tom Lane
Date:
Subject: Re: SegFault in 7.0.3 libpq.so.2.1