Re: C programming on ARM



Hans-Bernhard Bröker wrote:
Paul Keinanen wrote:

In which case would an arbitrary pointer casting be a problem ?

Roughly all of them. The real question is how violently the
problem will show itself. Some of them can lie dormant for a
decade before a platform change exposes them as total show-stoppers.

With any byte addressable architecture, a pointer is just a pointer.

But there are quite a few non-byte addressable architectures out
there. Including ARM, last I checked.

In C, a byte is just the smallest addressable memory unit. It must
hold at least 8 bits, but it can be many more.

--
[mail]: Chuck F (cbfalconer at maineline dot net)
[page]: <http://cbfalconer.home.att.net>
Try the download section.



--
Posted via a free Usenet account from http://www.teranews.com

.