- 已编辑
最近 markdown 包的检查开始出现如下警告消息:https://cran.r-project.org/web/checks/check_results_markdown.html
./Rmarkdown.h:32:35: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
Rmarkdown.c:179:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
./html_blocks.h:90:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
./html_blocks.h:144:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
详情参见:
https://www.r-project.org/nosvn/R.check/r-devel-linux-x86_64-debian-clang/markdown-00install.html
https://www.r-project.org/nosvn/R.check/r-devel-linux-x86_64-debian-gcc/markdown-00install.html
这种 C 语言问题对我来说都是天书,不知如何修正,求壮士们指条生路。谢谢!
源代码在 src 文件夹下:https://github.com/rstudio/markdown