Re: CVS HEAD compile failure

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема Re: CVS HEAD compile failure
Дата
Msg-id 3FD4E732.4080108@dunslane.net
обсуждение исходный текст
Ответ на Re: CVS HEAD compile failure  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Tom Lane wrote:

>Kurt Roeckx <Q@ping.be> writes:
>  
>
>>I can compile current cvs with gcc 2.95.3, openssl 0.9.7b and
>>zlib 1.2.1.
>>    
>>
>
>"current CVS" meaning "since I fixed the include order" ?
>

The little code snippet I posted earlier should do to test out 
compilers, if people want to.

Looking around the web I see that we aren't the first people to trip 
over this. In fact the issue has been known for years - I saw a 
reference to it all the way back to 1999.

Another project solved it by adjusting the namespace pollution instead 
of changing the include order, thus:

+#define free_func zlib_free_func#include <zlib.h>
+#undef free_func


Anyway, I hope it's fixed :-)


cheers

andrew



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: CVS HEAD compile failure
Следующее
От: Kurt Roeckx
Дата:
Сообщение: on_shmem_exit() callback function type.