社区
Linux_Kernel
帖子详情
warning : "xxxxxxxx" is deprecated(declare at include/linux/modules.h)?????
pName
2004-09-04 10:07:24
在升级内核时候,make modules后的编译进行过程中,有些地方就出现类似的警告。是什么原因,有什么后果呢?编译后的内核安装后会不会出现问题?
...全文
1015
2
打赏
收藏
warning : "xxxxxxxx" is deprecated(declare at include/linux/modules.h)?????
在升级内核时候,make modules后的编译进行过程中,有些地方就出现类似的警告。是什么原因,有什么后果呢?编译后的内核安装后会不会出现问题?
复制链接
扫一扫
分享
转发到动态
举报
写回复
配置赞助广告
用AI写文章
2 条
回复
切换为时间正序
请发表友善的回复…
发表回复
打赏红包
jellen
2004-09-05
打赏
举报
回复
同Java里面的API一样,有些函数可能已经不推荐使用了,系统提醒你一下,应该没有什么问题的。
klbt
2004-09-05
打赏
举报
回复
警告而已,可以不理睬
warning
: ‘gets’ is
deprecated
(
declare
d at /usr/
include
/stdio.
5.c: In function ‘getinfo’: 5.c:20:2:
warning
: ‘gets’ is
deprecated
(
declare
d at /usr/
include
/stdio.h:638) [-W
deprecated
-declarations] gets(temp.fname); 警告:不建议使用gets函数。 gets 已被弃用,因为它很危险,可能会导致缓冲区溢出。 解决方案使用 fgets 代替: fgets(temp,sizeof(temp),stdin); ..
webpack-internal:///../node_
modules
/rc-util/lib/
warning
.js:20
Warning
: [antd: LocaleProvider] `Local
webpack-internal:///…/node_
modules
/rc-util/lib/
warning
.js:20
Warning
: [antd: LocaleProvider] LocaleProvider is
deprecated
. Please use locale with ConfigProvider instead: 翻译出来就是 webpack internal:///…/n...
note:pragma message: This header is
deprecated
. Use boost/integer/integer_log2.hpp> instead.
编译caffe过程中会提示以下信息: In file
include
d from /usr/local/
include
/boost/random/detail/integer_log2.hpp:19:0, from /usr/local/
include
/boost/random/detail/large_arithmetic.hpp:19, from /usr/local/
include
/boos...
驱动程序用到的头文件
linux
/
include
/
linux
/compiler.h(基于
linux
version:2.6.34; arch:arm)
让我们从一个最简单的驱动程序开始,下面是来自《
LINUX
设备驱动开发详解》中的一个内核模块程序例子: /*====================================================================== A kernel module: book This example is to introduce module params The initial developer of the original cod
XGBoost
WARNING
: /workspace/src/objective/regression_obj.cu:152: reg:linear is now
deprecated
遇到这个
warning
这的是看着烦,感谢前辈: https://github.com/dmlc/xgboost/issues/4599 加上这个参数: objective =‘reg:squarederror’ 即可
Linux_Kernel
4,436
社区成员
17,460
社区内容
发帖
与我相关
我的任务
Linux_Kernel
Linux/Unix社区 内核源代码研究区
复制链接
扫一扫
分享
社区描述
Linux/Unix社区 内核源代码研究区
社区管理员
加入社区
获取链接或二维码
近7日
近30日
至今
加载中
查看更多榜单
社区公告
暂无公告
试试用AI创作助手写篇文章吧
+ 用AI写文章