From 84147361fe60099eaa8f85d9a0ca53d9f4dd1db8 Mon Sep 17 00:00:00 2001 From: hyzboy Date: Wed, 30 Sep 2020 22:04:47 +0800 Subject: [PATCH] delete "#pragma warning" in Microsoft.h --- inc/hgl/platform/compiler/Microsoft.h | 7 ------- 1 file changed, 7 deletions(-) diff --git a/inc/hgl/platform/compiler/Microsoft.h b/inc/hgl/platform/compiler/Microsoft.h index f1ce1ed..b799d8b 100644 --- a/inc/hgl/platform/compiler/Microsoft.h +++ b/inc/hgl/platform/compiler/Microsoft.h @@ -26,13 +26,6 @@ //-------------------------------------------------------------------------------------------------- #define _USE_MATH_DEFINES // 使用数学常数定义 //-------------------------------------------------------------------------------------------------- -#pragma warning(disable:4819) // ansi -> unicode -#pragma warning(disable:4311) // 模板警告 -#pragma warning(disable:4800) // -> bool 性能损失警告 -#pragma warning(disable:4244) // -> int 精度丢失警告 -#pragma warning(disable:4804) // 不安全的类型比较 -#pragma warning(disable:4805) // 不安全的类型比较 - #ifndef _CRT_SECURE_NO_WARNINGS #define _CRT_SECURE_NO_WARNINGS #endif//