Thread: Bug #776: PGSQL 7.2.2 build broken on OS X 10.2

Bug #776: PGSQL 7.2.2 build broken on OS X 10.2

From
pgsql-bugs@postgresql.org
Date:
Lee Nelson (jld123@pobox.com) reports a bug with a severity of 1
The lower the number the more severe it is.

Short Description
PGSQL 7.2.2 build broken on OS X 10.2

Long Description
Postgresql 7.2.2 does not build on Mac OS X 10.2 .   Worked perfectly on OS X 10.1.4.   Developer disk (GCC, etc) is
installed.

To reproduce:

./configure
make

Failure Output (last few lines from build):

make -C darwin all
gcc -traditional-cpp -g -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -I../../../../src/include   -c -o sem.o
sem.c
In file included from sem.c:30:
../../../../src/include/port/darwin/sem.h:66: warning: `union semun' declared inside parameter list
../../../../src/include/port/darwin/sem.h:66: warning: its scope is only this definition or declaration, which is
probablynot what you want 
../../../../src/include/port/darwin/sem.h:66: warning: parameter has incomplete type
sem.c:67: warning: `union semun' declared inside parameter list
sem.c:68: parameter `arg' has incomplete type
make[4]: *** [sem.o] Error 1
make[3]: *** [darwin.dir] Error 2
make[2]: *** [port-recursive] Error 2
make[1]: *** [all] Error 2
make: *** [all] Error 2

SUGGESTIONS or WORKAROUNDS appreciated.

Thank you,

   Lee Nelson





Sample Code


No file was uploaded with this report