From: <no...@so...> - 2002-09-28 13:46:46
|
Bugs item #589270, was opened at 2002-07-31 20:15 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=116528&aid=589270&group_id=16528 Category: PgInt8 Group: None Status: Open >Resolution: Accepted Priority: 5 Submitted By: Nobody/Anonymous (nobody) Assigned to: Billy G. Allie (ballie01) Summary: strtoll strtoull not in Compac C on OSF Initial Comment: The routines to convert strings to signed and unsigned long longs, strtoll, strtoull, do not seem to available in Compaq C V6.1-123 on Digital UNIX V4.0G (Rev. 1530) (and not part of ANSI C). The package then does not build properly on our ALPHA OSF 1 V4.0 1530. ---------------------------------------------------------------------- >Comment By: Gerhard Häring (ghaering) Date: 2002-09-28 15:46 Message: Logged In: YES user_id=163326 Building on your platform should work with the CVS version of pyPgSQL. ---------------------------------------------------------------------- Comment By: Billy G. Allie (ballie01) Date: 2002-08-02 03:40 Message: Logged In: YES user_id=8500 I think we should rename the functions to pg_strtoll and pg_strtoull and always use those. When can then avoid the special casing of setup.py as you suggested. ---------------------------------------------------------------------- Comment By: Gerhard Häring (ghaering) Date: 2002-08-01 09:15 Message: Logged In: YES user_id=163326 Billy, what do we do in this case? Use the stuff from the windows/ directory? Anonymous, could you please post what >>> import sys, os >>> print sys.platform >>> print os.name prints on your DEC machine? On a very old box I have access to, this prints: 'osf1V4' and 'posix'. Another possibility is to rename the functions in the windows/ directory, to avoid name conflicts with libc stuff on other platforms, and *always* use our own implementations. Maybe that's preferrable to special-case for the dozens of Unices out there. Anonymous, as a temporary workaround you can use the functions in the windows/ directory. You'll need to change setup.py so that these get linked in, just search for how it's done for the win32 platform. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=116528&aid=589270&group_id=16528 |