At 01:27 PM 2/24/05 +0000, Mark Butcher wrote:
>OK - you were right. It was working on the Windows PC because the
>module is really getting its memory from heap and uses a pointer.
>The other declaration (static array) was also working but only by
>chance since it was setting and collecting from a 'free' location.
I won't reply to your other message then :). I think this is an area where
the similarity of Cs syntax usage rules on [] between pointers and arrays
coupled with the automatic conversion of array name to pointer causes
people to build up false models. You are certainly not the only person to
run afoul of it.
Robert
" 'Freedom' has no meaning of itself. There are always restrictions,
be they legal, genetic, or physical. If you don't believe me, try to
chew a radio signal. "
Kelvin Throop, IIIMessage
Re: [lpc2000] Re: Strange Compiler Behaviour -
2005-02-24 by Robert Adsett
Attachments
- No local attachments were found for this message.