avr-gcc-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-gcc-list] Re: WinAVR 20050214 (gcc 3.4.3) and optimizer bug.


From: E. Weddington
Subject: Re: [avr-gcc-list] Re: WinAVR 20050214 (gcc 3.4.3) and optimizer bug.
Date: Mon, 09 May 2005 09:59:31 -0600
User-agent: Mozilla Thunderbird 1.0.2 (Windows/20050317)

Larry Barello wrote:

So, this is all facinating reading, but what, if anything, is a NULL pointer
in the AVR context?  Address 0 is certainly valid.  Or is it simply
convention that 0 is "null".

To the best of my knowledge, a NULL pointer in the AVR context is 0. And yes, that is simply a convention. But it is a very widespread convention; there aren't many platforms around that define NULL as something other than 0, though it is allowed in the language.

Eric




reply via email to

[Prev in Thread] Current Thread [Next in Thread]