The #warning directive is not supported by MSVC. To still get a message to the user we use #pragma message() under MSVC now.