Re: python cleanup

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: python cleanup
Дата
Msg-id 8212.1311604252@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: python cleanup  (Andrew Dunstan <andrew@dunslane.net>)
Список pgsql-hackers
Andrew Dunstan <andrew@dunslane.net> writes:
> On 07/24/2011 11:46 PM, Tom Lane wrote:
>>> [python headers set _POSIX_C_SOURCE and _XOPEN_SOURCE]

>> What in the world are the python headers doing fooling with these
>> macros, anyway??

> The reason we get warnings about these and not about many other things it defines (such as the HAVE_foo macros) is
thatthese are set to values different from those encountered in the previously included headers.
 

That's pretty scary in itself, since it suggests that the Python guys
know or think that changing those values will do something magic.

I'm worried that they are trying to do the same kind of thing that
we are trying to do with our put-postgres.h-first rule, namely ensure
that all loadable modules match the core's idea of libc properties.
If that's what's going on here, and their idea of those properties
is different from our standard build, then we may have worse problems
than a compiler warning.
        regards, tom lane


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

Предыдущее
От: Andrew Dunstan
Дата:
Сообщение: Re: python cleanup
Следующее
От: Tom Lane
Дата:
Сообщение: Re: python cleanup