Yahoo Groups archive

Lpc2000

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

Message

Re: unsigned long versus unsigned int on ARM7

2005-11-09 by rtstofer

--- In lpc2000@yahoogroups.com, Richard <richard-lists@i...> wrote:
>
> First of all, re: standards, the old C86/C89/ISO90 Standard will 
go on for 
> a quite a while. Most (embedded) compilers have not moved to fully 
support 
> C99 and do not appear to have too much pull to do so. I am not 
aware of 
> this "latest standard" you mention but I have not tracked 
comp.std.c or 
> some such for a while.

I believe the discussion was related to C99 as it appeared to change 
the definition from previous versions (or it did in the minds of the 
participants).  But, I hate to mention things like 'standards' 
because I haven't read them and I wouldn't understand them if I did.

> 
> Second, if you want to be portable and care about the actual # of 
bits, you 
> should always use your own typdefs such as
> 
> uint32, uint64 etc. anyway.

OK, I give in.  It is no effort to create a 'datatypes.h' and this 
is the approach I have used before.  There is certainly good reason 
to get this squared away early.

Thanks to all!

Richard

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.