Zoltán Kócsi <zol...@bendor.com.au> writes:

> How can I make a pointer to point to the integer located at address
> 0x0? It is a perfectly valid object, it exists, therefore I should be
> able to get its address? In fact, if I have a CPU that starts its data
> RAM at 0, then the first data object *will* reside at address 0 and
> thus taking its address will result in a pointer that has all its bits
> clear.

Then you should define the null pointer to be not all bits zero on this
platform.

Andreas.

-- 
Andreas Schwab, SuSE Labs, sch...@suse.de
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."

Reply via email to