From: | Andrew Dunstan <andrew(at)dunslane(dot)net> |
---|---|
To: | Postgresql Hackers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: CVS HEAD compile failure |
Date: | 2003-12-08 21:03:46 |
Message-ID: | 3FD4E732.4080108@dunslane.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Tom Lane wrote:
>Kurt Roeckx <Q(at)ping(dot)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
From | Date | Subject | |
---|---|---|---|
Next Message | Kurt Roeckx | 2003-12-08 22:52:54 | on_shmem_exit() callback function type. |
Previous Message | Tom Lane | 2003-12-08 20:46:22 | Re: CVS HEAD compile failure |