carver

How do I force functions to be inline functions?

Discussion created by carver on Jan 27, 2009
Latest reply on May 4, 2011 by FridgeFreezer
Using CodeWarrior 6.2 for a ColdFire processor.
 
I can force a VERY small function to be inline (Iff it is in the same file as the calling function).
But the compiler ignores #pragma inline and compiler settings for other functions in the file.
 

On the C/C++ languange tab there are the following controls, that seem to have little effect on the inlining
 
Auto-Inline
Botom-up Inline 
Inline depth?
 
How are these controls intended to control the inlining of functions?
 

Outcomes