安装perls模块报警

Tty.xs:867:12: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘STRLEN {aka long unsigned int}’ [-Wformat=]
croak("IO::Tty::unpack_winsize(): Bad arg length - got %d, expected %d",
^~~~
Tty.xs:867:12: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long unsigned int’ [-Wformat=]
rm -f blib/arch/auto/IO/Tty/Tty.so

 

https://stackoverflow.com/questions/53071231/c-warning-format-d-expects-argument-of-type-int-but-argument-2-has-type

warning一般不必管...但是你的取值确实不对。

有毒,获取%d,期望%d

您好,我是有问必答小助手,你的问题已经有小伙伴为您解答了问题,您看下是否解决了您的问题,可以追评进行沟通哦~

如果有您比较满意的答案 / 帮您提供解决思路的答案,可以点击【采纳】按钮,给回答的小伙伴一些鼓励哦~~

ps:问答VIP仅需29元,即可享受5次/月 有问必答服务,了解详情>>>https://vip.csdn.net/askvip?utm_source=1146287632

 install IPC::Run

安装这个命令就会报警

请教大咖如何可以清除这个警告

@bosaidongmomo 没明白如何解决