Re: 7.4Beta1: Compile Failure: UnixWare 7.1.3UP2

Поиск
Список
Период
Сортировка
От Larry Rosenman
Тема Re: 7.4Beta1: Compile Failure: UnixWare 7.1.3UP2
Дата
Msg-id 73090000.1060186686@lerlaptop.iadfw.net
обсуждение исходный текст
Ответ на Re: 7.4Beta1: Compile Failure: UnixWare 7.1.3UP2  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: 7.4Beta1: Compile Failure: UnixWare 7.1.3UP2  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers

--On Wednesday, August 06, 2003 12:11:24 -0400 Tom Lane <tgl@sss.pgh.pa.us> 
wrote:

> Larry Rosenman <ler@lerctr.org> writes:
>> cc -O -K inline -g -I../../../../src/include -I/usr/local/include  -c -o
>> printtup.o printtup.c
>> UX:cc: WARNING: debugging and optimization mutually exclusive; -O
>> disabled UX:acomp: ERROR: "printtup.c", line 94: undefined struct/union
>> member:  _shutdown
>
> Hmm, that line is
>
>     self->pub.shutdown = printtup_shutdown;
>
> Apparently, somewhere in your system headers is
>
>     #define shutdown _shutdown
>
> which would not hurt us if it were applied consistently --- but
> evidently the DestReceiver struct definition in tcop/dest.h is
> read before we encounter the macro definition.  Yech.  Can you
> find which system header is thus polluting the namespace?


> sys/socket.h:#define shutdown _shutdown


>             regards, tom lane



-- 
Larry Rosenman                     http://www.lerctr.org/~ler
Phone: +1 972-414-9812                 E-Mail: ler@lerctr.org
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: 7.4Beta1: Compile Failure: UnixWare 7.1.3UP2
Следующее
От: Tom Lane
Дата:
Сообщение: Re: test beta build