1 Star 0 Fork 9

ikernel_Mryao/neon

forked from src-openEuler/neon 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
neon-0.30.2-backport-mak-Replace-GX-with-EHsc.patch 858 Bytes
一键复制 编辑 原始数据 按行查看 历史
ikernel_Mryao 提交于 2022-12-29 17:55 +08:00 . backport neon.mak Replace GX with EHsc
From 6d33a725679c2fca903621c67db03d1b4857cfe3 Mon Sep 17 00:00:00 2001
From: Chun-wei Fan <fanchunwei@src.gnome.org>
Date: Wed, 23 Mar 2022 11:18:04 +0800
Subject: [PATCH] neon.mak: Replace /GX with /EHsc
The /GX option has been deprecated and replaced with /EHsc, so use that to
eliminate a cl.exe command line warning.
---
neon.mak | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/neon.mak b/neon.mak
index ce53a30..1d26d3b 100644
--- a/neon.mak
+++ b/neon.mak
@@ -12,11 +12,11 @@ NULL=nul
# Debug vs. Release build
!IF "$(DEBUG_BUILD)" == ""
INTDIR = Release
-CFLAGS = /MD /W3 /GX /O2 /D "NDEBUG"
+CFLAGS = /MD /W3 /EHsc /O2 /D "NDEBUG"
TARGET = .\libneon.lib
!ELSE
INTDIR = Debug
-CFLAGS = /MDd /W3 /Gm /GX /Zi /Od /D "_DEBUG"
+CFLAGS = /MDd /W3 /Gm /EHsc /Zi /Od /D "_DEBUG"
TARGET = .\libneonD.lib
!ENDIF
--
2.27.0
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/ikernel-mryao/neon.git
git@gitee.com:ikernel-mryao/neon.git
ikernel-mryao
neon
neon
master

搜索帮助