|
From: Corvin Z. <za...@za...> - 2002-02-11 00:14:24
|
hi,
I have a problem with sdcc V2.3.0:
The code:
-------------------------------
void a(void)
{
static char i = 0;
i++;
}
void b(void)
{
char i;
i++;
}
--------------------------------
results in
zahn@pegasus:testsdcc $ sdcc -c tt.c
tt.c(11):error *** Duplicate symbol 'i', symbol IGNORED
tt.c(11):error *** code not generated for 'b' due to previous errors
tt.c(11):warning *** in function b unreferenced local variable : 'i'
Any suggestions?
Thanks,
Corvin Zahn
--
Corvin Zahn <za...@za...>
|