[Top][All Lists]

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

Re: [avr-gcc-list] AVR-GCC question

From: Daniel O'Connor
Subject: Re: [avr-gcc-list] AVR-GCC question
Date: Mon, 23 May 2005 20:38:24 +0930
User-agent: KMail/1.8

On Mon, 23 May 2005 14:23, Joerg Wunsch wrote:
> > ie on say, a HC12, none of this is an issue because it behaves much
> > more like a "normal" system.
> Same for the TI MSP430 controller.
> The C standard always (*) allowed it to have string literals in
> read-only memory locations, but they need to be compatible with the
> respective standard library functions, as well as with other string
> objects in RAM.

Hmm but it is very *useful* to put string contants in Flash even if they are 
more difficult to read :)

It would be nice if some form of polymorphism happened that allowed the 
compiler/linker to automagically pick the right function to handle a given 
data type though.

Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
  -- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C

Attachment: pgpbEgqMQIkCj.pgp
Description: PGP signature

reply via email to

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