Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Message

Re: [lpc2000] Re: unsigned long versus unsigned int on ARM7

2005-11-09 by Ake Hedman, eurosource

David Hawkins wrote:

> I use <stdint.h> to get the C99 types; int32_t, uint32_t, etc.
> If the compiler doesn't have a stdint.h, then write one.
> There are already too many versions of code with s32, S32, INT32, ...
> definitions out there, I figure go with the C99 names, even
> if your compiler is not C99 compliant.
>
> Dave


This is a *very* good suggestion. During the years I have used many 
different constructs but as you write it is probably time now to go for 
the C99 types once for all. Is there a place where they all are listed? 
I have never come across a stdint.h file yet.... ;-)
 
Cheers
/Ake

-- 
 ---
Ake Hedman (YAP - Yet Another Programmer)
eurosource, Brattbergavägen 17, 820 50 LOS, Sweden
Phone: (46) 657 413430 Cellular: (46) 73 84 84 102
Company home: http://www.eurosource.se      
Kryddor/Te/Kaffe: http://www.brattberg.com
Personal homepage: http://www.eurosource.se/akhe
Automated home: http://www.vscp.org

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.