[ECOS] bsdtypes.h typedefs

Bailie, Scott bailie@ll.mit.edu
Thu Jun 26 18:23:00 GMT 2008

Hi All,

I'm curious about the choice for the int32_t and uint32_t typedefs in the bsdtypes.h header.  Currently they are typedef'd to int and unsigned int, respectively.  It seems that it would make more sense for them to be long and unsigned long, therefore removing any ambiguity regarding integer length when moving between platforms.  The C99 standard which requires inttypes.h & stdint.h does just that.  Is there any reason these C99 files have not been incorporated into the eCos distro?  Otherwise, is there any reason not to change the typedefs in the bsdtypes.h file?

Thanks, Scott

Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

More information about the Ecos-discuss mailing list