You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When building on windows with visual studio, source files are
compiled using the c++-compiler. So all exported symbols need
to be enclosed by an extern "C" {} to force c-linkage (which
almost all exported symbols do already).
However the private_selftest function, which gets exported in
project_library.h (i.e. czmq_library.h) when building
in draft mode, is missing an extetn "C".
This commit encloses the private_selftest function declaration in an
extern "C" block to also force c-linkage for that symbol.
0 commit comments