Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix appveyor of MSVC for __RPC_CALLEE
Looks like some versions do not accept __RPC_CALLEE. Otherwise the clang compiler for Windows will output a warning like this: src\core\SignalHandler.cpp(46,25): error: cast between incompatible calling conventions 'cdecl' and 'stdcall'; calls through this pointer may abort at runtime [-Werror,-Wcast-calling-convention] SetConsoleCtrlHandler(PHANDLER_ROUTINE(ctrlHandler), true); \src\core\SignalHandler.h(48,15): note: consider defining 'ctrlHandler' with the 'stdcall' calling convention static BOOL ctrlHandler(DWORD pCtrlType); ^ __RPC_CALLEE
- Loading branch information