Re: Psycopg 2.0.9 on Windows
Jason Erickson <[email protected]>
| Newsgroups | gmane.comp.python.db.psycopg.devel |
|---|---|
| Message-ID | <[email protected]> |
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 :) ). -jason > -Patrick > > > -- > Patrick L. Hartling > Senior Software Engineer, Priority 5 > http://www.priority5.com/