3 Star 0 Fork 1

OpenCloudOS Stream/prelude-lml

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
prelude-lml-configure-c99.patch 1.06 KB
一键复制 编辑 原始数据 按行查看 历史
ocs-bot 提交于 2024-05-06 16:11 +08:00 . package init
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 () {
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/opencloudos-stream/prelude-lml.git
git@gitee.com:opencloudos-stream/prelude-lml.git
opencloudos-stream
prelude-lml
prelude-lml
master

搜索帮助