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 David Hawkins

Ake Hedman, eurosource wrote:
> 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
> 

On my Cygwin install

$ find . -name stdint.h -print
./usr/include/mingw/stdint.h
./usr/include/stdint.h

there's a couple. Do the same on your install.

Dave

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.