Re: python cleanup
От | Andrew Dunstan |
---|---|
Тема | Re: python cleanup |
Дата | |
Msg-id | 4E2D7B22.8040906@dunslane.net обсуждение исходный текст |
Ответ на | Re: python cleanup (Tom Lane <tgl@sss.pgh.pa.us>) |
Ответы |
Re: python cleanup
Re: python cleanup |
Список | pgsql-hackers |
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?? > Good question. It seems unfriendly. It looks like you're just about guaranteed to get a warning if you include any systemheader before you include Python.h. So either we have to dance around that or we have to give up the idea that postgres.h must come first. It wouldn't be thefirst time we've had to do that sort of dance. The reason we get warnings about these and not about many other things it defines (such as the HAVE_foo macros) is that theseare set to values different from those encountered in the previously included headers. cheers andrew
В списке pgsql-hackers по дате отправления: