const declaration

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

const declaration

2,959 Views
p_vagnoni
Contributor III
Hi all,
 
I have this problem: I need to have many constant string, I declare them as a global const but when i link my project the string that I haven't use in my program doesn't exists. Is there some settings to do to force the compiler/linker to leave it in memory?
 
Thanks all,
Labels (1)
0 Kudos
Reply
3 Replies

870 Views
Lundin
Senior Contributor IV
Yes, check out "ENTRIES" in your .prm file.
0 Kudos
Reply

870 Views
p_vagnoni
Contributor III
Hello,
 
Could you explain me better this procedure?
 
Thanks in advance,
0 Kudos
Reply

870 Views
Alban
Senior Contributor II
Hello,
 
Please refer to post dead stripping nightmares  in 8-Bit board and continue thread there only.
Keeping one thread avoids double work and allow to have all info in ONE place.
 
Cheers,
Alban.
0 Kudos
Reply