Re: plperl failure on OS X 10.5(.1)

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: plperl failure on OS X 10.5(.1)
Дата
Msg-id 16291.1195673186@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: plperl failure on OS X 10.5(.1)  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
I wrote:
> Apparently 5.8.8
> is sucking stdbool.h into the compile where 5.8.6 did not.  Can you
> track down just what the inclusion path is?

I pulled down the perl 5.8.8 sources and cannot find a reference to
stdbool.h anywhere.  What I do find is that "handy.h" defines what
Perl thinks bool is:

#ifndef HAS_BOOL
# if defined(UTS) || defined(VMS)
#  define bool int
# else
#  define bool char
# endif
# define HAS_BOOL 1
#endif

On OSX 10.4 this file is installed in
/System/Library/Perl/5.8.6/darwin-thread-multi-2level/CORE/handy.h

Would you look at what 10.5 has?  I suspect that Apple has modified
their version to force bool to be int as of 10.5.
        regards, tom lane


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

Предыдущее
От: Brandon Maust
Дата:
Сообщение: Re: plperl failure on OS X 10.5(.1)
Следующее
От: Tom Lane
Дата:
Сообщение: Re: plperl failure on OS X 10.5(.1)