Compiler Error C2732
Error Message
linkage specification contradicts earlier specification for 'function'
The function is already declared with a different linkage specifier.
This error can be caused by include files with different linkage specifiers.
Change the extern statements so that the linkages agree.