[issue6347] hpux11.00-parisc: dtoa.c: "Failed to find an exact-width 32-bit integer type"

Mark Dickinson report at bugs.python.org
Sat Jun 27 16:49:38 CEST 2009


Mark Dickinson <dickinsm at gmail.com> added the comment:

Thanks for the report!

Is the operating system you're using HP-UX 11.00, or am I misunderstanding 
the issue title?  Isn't HP-UX 11.00 quite old?  (wikipedia says 1997).  
Does the problem exist with more recent versions of HP-UX 11?

>From the log file you supplied (thank you!) it looks as though the issue 
is that this version of HP-UX doesn't have the stdint.h standard header 
file that's required by C99.  This would hardly be surprising if the 1997 
date is accurate.

I have some questions and requests:

1. Please could you attach your post-configuration pyconfig.h file,
and also, if possible, the config.log file?

2. Does inttypes.h on your system define int32_t and uint32_t?

3. Does inttypes.h on your system define INT32_MAX and UINT32_MAX?

4. Does the attached patch fix the problem for you?  (Note: I'm not
yet proposing applying such a patch to the Python source;  I'm just
trying to diagnose the problem.)

For questions 2 and 3, be aware that there might be some #ifdef magic in 
inttypes.h so that what's actually defined depends on various compiler 
flags or preprocessor constants.  (For example, on some systems, I believe 
exports of INT32_MAX and friends from stdint.h are suppressed when using a 
C++ compiler instead of a C compiler.)

----------
keywords: +patch
Added file: http://bugs.python.org/file14370/issue6347.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue6347>
_______________________________________


More information about the Python-bugs-list mailing list