Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
12/16/02 14:57
Read: times


 
#34540 - SDDC: Code var must have initialiser
Hello everyone,

if I declare in SDCC:

code unsigned char at 0x0000 test;

to read out my eprom at 0x0000, I get the error message "variable "test" declared in code space must have initialiser".

What is initializing a variable, how can I initialise a variable, why do I have to initialise a variable, and what could I ever do with a code variable, wich content is already defined by the content of my eprom an can not be changed anyway under program control?

Thank you!

Mike

List of 7 messages in thread
TopicAuthorDate
SDDC: Code var must have initialiser            01/01/70 00:00      
RE: SDDC: Code var must have initialiser            01/01/70 00:00      
RE: SDDC: Code var must have initialiser            01/01/70 00:00      
RE: SDDC: Code var must have initialiser            01/01/70 00:00      
RE: SDDC: Code var..., Donald            01/01/70 00:00      
RE: SDDC: Code var..., Donald 2            01/01/70 00:00      
RE: SDDC: Code var..., Donald 2            01/01/70 00:00      

Back to Subject List