Problem: MS-Windows: build warnings.
Solution: Add a #pragma to suppress the deprecation warning. (Ken Takata)
Avoid using a non-ASCII character. (closes #7421)
col += (*mb_ptr2cells)(s);
if (l >= MB_MAXBYTES)
{
- STRCPY(buf, "¿");
+ STRCPY(buf, "?");
}
else if (lcs_nbsp != NUL && list
&& (mb_ptr2char(s) == 160
}
#endif
+#ifdef _MSC_VER
+// Suppress the deprecation warning for using GetVersionEx().
+// It is needed for implementing "windowsversion()".
+# pragma warning(push)
+# pragma warning(disable: 4996)
+#endif
/*
* Set "win8_or_later" and fill in "windowsVersion" if possible.
*/
done = TRUE;
}
}
+#ifdef _MSC_VER
+# pragma warning(pop)
+#endif
#if !defined(FEAT_GUI_MSWIN) || defined(VIMDLL)
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 2091,
/**/
2090,
/**/