Bengt-Olov Andersson

Using Not used variables

Discussion created by Bengt-Olov Andersson on Oct 22, 2008
Latest reply on Oct 22, 2008 by stanish
I'm using a lot of constant variables in a table and the code is written in a way that the linker cannot see that they are used and hence they will not be linked into the application. To avoid this I'm forced to do a dummy read for each variable.
Is there a way to tell the linker that the variables inside this segment must be linked even if they seem to be unused??