Fix compile error - linker does not find extern variables, in sql_logger.c
The file uses external variables defined in another (C++) source file. Since MSVC mangles variables and not only functions, either variables in question should be extern "C", or sql_logger should be made C++ for link to succeed. Fixed by renaming sql_logger.c to sql_logger.cc
Showing
Please register or sign in to comment