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

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

[avr-gcc-list] String declaration query


From: Royce Pereira
Subject: [avr-gcc-list] String declaration query
Date: Sun, 6 Jul 2014 18:33:40 +0530

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



reply via email to

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