• R/O
  • SSH

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

K.Takata's patch queue for Vim


Commit MetaInfo

Revisiónabc706c13221157295a04b50e9fb3ee5f67c7211 (tree)
Tiempo2020-12-04 11:38:20
AutorK.Takata <kentkt@csc....>
CommiterK.Takata

Log Message

Add a new patch

Cambiar Resumen

Diferencia incremental

diff -r ff7f85cf735d -r abc706c13221 series
--- a/series Thu Nov 26 06:58:28 2020 +0900
+++ b/series Fri Dec 04 11:38:20 2020 +0900
@@ -28,4 +28,5 @@
2828 win32-drop-support-for-pre-vista.patch
2929 msvc-use-gf-flag.patch
3030 win32-disable-quickedit-by-mouse.patch
31+suppress-warning-C4996.patch
3132 fix-config_cache-removal.patch #+rejected
diff -r ff7f85cf735d -r abc706c13221 suppress-warning-C4996.patch
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/suppress-warning-C4996.patch Fri Dec 04 11:38:20 2020 +0900
@@ -0,0 +1,29 @@
1+# HG changeset patch
2+# Parent ede5237f9eaec3a68eb5f63455df747f70ab5656
3+
4+diff --git a/src/os_win32.c b/src/os_win32.c
5+--- a/src/os_win32.c
6++++ b/src/os_win32.c
7+@@ -839,6 +839,12 @@ win32_enable_privilege(LPTSTR lpszPrivil
8+ }
9+ #endif
10+
11++#ifdef _MSC_VER
12++// Suppress the deprecation warning for using GetVersionEx.
13++// It is needed for implementing "windowsversion()".
14++# pragma warning(push)
15++# pragma warning(disable: 4996)
16++#endif
17+ /*
18+ * Set "win8_or_later" and fill in "windowsVersion" if possible.
19+ */
20+@@ -869,6 +875,9 @@ PlatformId(void)
21+ done = TRUE;
22+ }
23+ }
24++#ifdef _MSC_VER
25++# pragma warning(pop)
26++#endif
27+
28+ #if !defined(FEAT_GUI_MSWIN) || defined(VIMDLL)
29+