C4301: Inline expansion done for function call

[DISABLE, INFORMATION , WARNING, ERROR]

Description

The compiler was replacing the function call with the code of the function to be called.

Example
  inline int f(int i) {

  
    return i+1;

  
  }

  
  void main() {

  
    int i=f(3);  // gets replaced by i=3+1;

  
  }

  
Tips

To force the compiler to inline function calls use the keyword "inline".

See also