I've just installed the C51 Update v6.23: http://www.keil.com/forum/msgpage.asp?MsgID=4908 I have a 'C' function with an initialised local static bit, in a source file compiled with the SRC directive:
void fred() { static bit initialise = TRUE; if( initialise ) { initialise = FALSE; : : etc
Most of all, I appreciate for your reply. Now, I use C51 V6.23a and uvision V2.23 too. The error message didnot occur If I dont declare the local static variable in the functions as below. ============================= static unsigned char var1; static unsigned char var2; void func_1(void) { ... switch(var1){ ... } } void func_2(void) { ... switch(var2) { ... } } ============================== but i wanna to declare these as local static variable in the functions. Have to I update new verstion? If I dont update C51 , cant I solve this problem? Regards. Joon