Compiler Error C2375
'function' : redefinition; different linkage
The function is already declared with a different linkage specifier.
The following sample generates C2375:
// C2375.cpp
// compile with: /Za /c
extern void func( void );
static void func( void ); // C2375
static void func2( void ); // OK
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for