NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Compiler Error C2732

linkage specification contradicts earlier specification for 'function'

The function is already declared with a different linkage specifier.

Possible cause

Change the extern statements so that the linkages agree.

Example

extern void func( void );      // implicit C++ linkage
extern "C" void func( void );  // error