C1073: Linkage specification contradicts earlier specification

[ERROR]

Description

The specified function was already declared with a different linkage specifier. This error can be caused by different linkage specifiers found in include files.

Example
  int f(int i);

  
  extern "C" int f(int i);

  
Tips

Use the same linkage specification for the same function/variable.