Tom Lane wrote:

Kurt Roeckx <[EMAIL PROTECTED]> 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


---------------------------(end of broadcast)--------------------------- TIP 1: subscribe and unsubscribe commands go to [EMAIL PROTECTED]

Reply via email to