Re: [cc65] Variables + Local Static

From: stefan <stefan-physik1gmx.net>
Date: 2007-08-21 15:06:10
 >> There is a bug in cc65 that causes it to allocate space on the stack 
even if locals should be made static.

Is above bug related to a problem i told you(Uz) some weeks ago in a 
private mail?

void some_function(void){
    extern unsigned char* something;
}

Leads to %v(something): .RES 2 in the assembler code,

but

extern unsigned char* something;
void some_function(void){
}


does not?


Greetz Monte Carlos



******* Diese Email wurde gesendet von der ********
Laser- und Medizin-Technologie GmbH, Berlin
                  (gemeinnuetzig nach §52 AO)
     Fabeckstr. 60 - 62, 14195 Berlin
     Telefon:  +49 (0)30 8449 23 - 0
     Fax:      +49 (0)30 8449 23 - 99
     Handelsregister:    Berlin 97 HRB 23 655
     Homepage: www.LMTB.de
     Vorsitzender des Aufsichtsrats: Dr. Frank Frank
     Geschaeftsfuehrung: Dr. H. Albrecht
                       Prof. Dr.-Ing. H. J. Eichler
*************************************************** 
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Tue Aug 21 15:04:13 2007

This archive was generated by hypermail 2.1.8 : 2007-08-21 15:04:15 CEST