correct bug in C++ compiler for __declspec(__watcall) function modifier