Other Parts Discussed in Thread: OMAP3530
Hi,
I am facing a problem with the use of inline functions with the TMS470. I have (as an example) created the following code but end up having not an inline function but a real function call (which leads to a change of the return address register).
inline int foo() {
return 4711;
}
int main() {
int i = 0;
i = foo();
return i;
}
I haven't used any optimization or compiler flag to disable inline functions. I also do not use the strict ansi C flag. I am using CCS5.0 on Linux with the default build chain for a the Cortex A8 (Omap3530) on a Beagleboard.
Thank you for your advice and response.
Regards,
Franziskus