hi all,

from an older version of avr-gcc, I was able to put a static variable in a 
specific section.

with version 4.1.1, it seems no longer possible.
I have tried to add other attributes like 'common/nocommon' and unused but it 
failed.
the only way to have the variable allocated is to suppress the static keyword.

OK, it works for my need without the static keyword, but it is not good 
programming practice as the variable is private to the .c file.

does someone have a solution for that?

any help will be appreciated.

thanks in advance.
    Yann




      

        
                
___________________________________________________________________________ 
Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions ! 
Profitez des connaissances, des opinions et des expériences des internautes sur 
Yahoo! Questions/Réponses 
http://fr.answers.yahoo.com


_______________________________________________
AVR-libc-dev mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/avr-libc-dev

Reply via email to