[DISABLE, INFORMATION , WARNING, ERROR]
The compiler was replacing the function call with the code of the function to be called.
inline int f(int i) {
return i+1;
}
void main() {
int i=f(3); // gets replaced by i=3+1;
}
To force the compiler to inline function calls use the keyword "inline".