String declaration query

Royce Pereira <[email protected]>
Newsgroups gmane.comp.hardware.avr.gcc
Message-ID <CACzHknhe6uVYkKB7c00Z=VmmCxdrBXrTDnzka=C64GOd3_19gA@mail.gmail.com>
Hi,

What is the differenence between:

__flash const char myString[] = "Hello There!" ;

and

__flash const char *myString = "Hello There!" ;

AFAIK, both should be same, but the 2nd gives the error:

" ... initializer element is not computable at load time"

Am I writing it wrong ?

Thanks.
-- 
Best Regards,

-- Royce Pereira
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.