Visual Studio: use #pragma warning(push/pop) instead of warning(default: ...)