代码拉取完成,页面将自动刷新
Include <wctype.h> to avoid implicit function declaration of towupper.
Fixed in gnulib upstream via:
commit 2d548920742b7735c1d4722c87f59c1df3b06556
Author: Bruno Haible <bruno@clisp.org>
Date: Sat Sep 14 19:41:46 2019 +0200
Make autoconf tests work with -Werror=implicit-function-declaration.
* m4/locale-tr.m4 (gt_LOCALE_TR_UTF8): Include <wctype.h>, for
towupper() declaration.
* m4/ptsname.m4 (gl_FUNC_PTSNAME): Include <stdlib.h>, for ptsname()
declaration.
diff --git a/configure b/configure
index 505535b165bd8cfc..3f7015b78ab1bb99 100755
--- a/configure
+++ b/configure
@@ -36759,6 +36759,7 @@ else
#endif
#include <stdlib.h>
#include <string.h>
+#include <wctype.h>
struct tm t;
char buf[16];
int main () {
diff --git a/libmissing/m4/locale-tr.m4 b/libmissing/m4/locale-tr.m4
index 2f2cf47892d505a5..454c18858d2b00c1 100644
--- a/libmissing/m4/locale-tr.m4
+++ b/libmissing/m4/locale-tr.m4
@@ -21,6 +21,7 @@ changequote(,)dnl
#endif
#include <stdlib.h>
#include <string.h>
+#include <wctype.h>
struct tm t;
char buf[16];
int main () {
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。