2 multiple definition of local symbol both normal and debug
3 second module is fwk/lib/statics.c
9 #if !defined( __SDCC_pdk14) && !defined(__SDCC_pdk15) // Lack of memory
10 static {type
} {type
}_1
= 2;
12 static {type
} s_get_
{type
}_1(void)
14 {type
} alfa
= {type
}_1
;
15 {type
} beta
= {type
}_1
+ alfa
;
16 {type
} gamma
= {type
}_1
+ beta
;
17 return alfa
+ beta
+ gamma
;
21 static char s_get_indexed(char index
, char *msg
)
23 /* "float" will put _s_get_indexed_PARM_2 in DSEG,
24 * "long" will put _s_get_indexed_PARM_2 in OSEG
27 return msg
[(char)(idx
+1)];
30 {type
} get_
{type
}_1(void);
31 char get_indexed(char index
, char *msg
);
36 #if !defined( __SDCC_pdk14) && !defined(__SDCC_pdk15) // Lack of memory
37 ASSERT (s_get_
{type
}_1() == 12);
38 ASSERT (get_
{type
}_1() == 6);
39 ASSERT (s_get_indexed(1, "One") == 'e');
40 ASSERT (get_indexed(1, "One") == 'n');