Technical information
Operating Precautions for CPDW9X/NT-CDR-V85X, Y-GHS-MULTI-V800
TM
  Customer Notification r20tu0003ed1812  18 
No. a7 
Two-pass inlining fails with the new generation compiler 
Version Information 
V3.3 
Details 
Two-pass inlining fails with the new generation compiler (option -c2000). 
Example: 
a.c: 
extern void foo(int x); 
void main(void) 
{ 
 foo(1); 
} 
b.c: 
int counter; 
void foo(int x) 
{ 
 counter += x; 
} 
Command Sequence 
ccv850 -OI=foo -S a.c b.c 
"a.c", line 1: error: extern inline function "foo" was referenced but 
 not defined 
extern void foo(int x); 
 ^ 
Workaround 
Use option “–compat” to compile with the compatibility mode compiler. 










