This is the mail archive of the ecos-discuss@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

bsdtypes.h typedefs


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]