PATCH: small fix to dfp.c
Ben Elliston
bje@au1.ibm.com
Mon Jan 30 05:04:00 GMT 2006
Hi Ian
> But I would like to understand where the typedef for uint32_t comes
> from. I don't see it defined anywhere, and it is only used in
> dfp.c. Have we now introduced an assumption that uint32_t is
> defined in a system header file? Shouldn't we instead be checking
> HOST_BITS_PER_INT, etc.?
A good point; these types are defined only in C99, after all.
dfp.c includes decimal32.h (amongst others), which in turn includes
decNumber.h, decContext.h and gstdint.h. The libdecnumber configury
generates gstdint.h using the config/stdint.m4 macros.
Perhaps it should be more obvious?
Ben
More information about the Gcc-patches
mailing list