Re: Psycopg 2.0.9 on Windows
Patrick Hartling <[email protected]>
| Newsgroups | gmane.comp.python.db.psycopg.devel |
|---|---|
| Message-ID | <[email protected]> |
Jason Erickson wrote: > On Wed, 11 Mar 2009, Patrick Hartling wrote: >> Has anyone used Psycopg 2.0.9 on Windows? I just tried to build it, >> and I get linker errors about the symbols _isinf and _isnan being >> unresolved. This is with Python 2.6 and Visual C++ 9.0 SP 1. When >> compiling the source, I get these warnings from adapter_pfloat.c: >> >> psycopg\adapter_pfloat.c(42) : warning C4013: 'isnan' undefined; >> assuming extern returning int >> psycopg\adapter_pfloat.c(44) : warning C4013: 'isinf' undefined; >> assuming extern returning int > > I stumbled across that issue, too, when compling it recently and > submited a patch to Federico. The fix is in the bzr tree, with a > revision >= 386 (I'd grab the latest, tho :) ). Ah, thanks for the tip. I have the latest revision of the source, but I hadn't tried to compile it. I just looked at the revision history adapter_pfloat.c and didn't see any changes since the 2.0.9 release. Now I see where the change was made to config.h to address this issue. Thanks again. -patrick -- Patrick L. Hartling Senior Software Engineer, Priority 5 http://www.priority5.com/ _______________________________________________ Psycopg mailing list Psycopg-IAPFreCvJWPBWskQ1e/[email protected] http://lists.initd.org/mailman/listinfo/psycopg
signature.asc
(application/pgp-signature, 252 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFJuClDIG954VMQ2iwRAqvwAJ9xc7vgGXBTwVXIyYzf9ESgXTWe0ACfaJWv KX0i+mnNGWpIyInGdAoQph0= =hFbb -----END PGP SIGNATURE-----