找回密码
 立即注册
×

00:00:00

您有一张0.1元限时体验卡,马上领取获得VIP尊享特权。

STC8H切换STC32G,下面报警信息帮助看看如何消除?| 已经解决

2023-9-1 10:21 来自 jnyyz 发布 @ 综合讨论

还有一个问题就是C251环境录入汉字显示??如何解决?原先录入的注释显示正常。

另外一个如何消除value truncated问题,好像是C251的编译更加严谨,比如一个char类型,+1就说有可能溢出,C51就不会报,如何消除呢?

Rebuild target 'Target 1'
assembling isr.a51...
compiling main.c...
main.c(70): warning C64: 'i2cUnstick': static function declared but not defined
compiling UartSim.c...
UartSim.c(875): warning C188: 'parameter 1': value truncated
UartSim.c(877): warning C188: 'parameter 1': value truncated
UartSim.c(879): warning C188: 'parameter 1': value truncated
UartSim.c(881): warning C188: 'parameter 1': value truncated
UartSim.c(1277): warning C35: 'StrStrComp': uses old-style declarator
UartSim.c(70): warning C64: 'i2cUnstick': static function declared but not defined
compiling LXSYSTEM.c...
LXSYSTEM.c(766): warning C35: 'StrStrUpdate': uses old-style declarator
LXSYSTEM.c(1108): warning C188: 'parameter 1': value truncated
LXSYSTEM.c(1110): warning C188: 'parameter 1': value truncated
LXSYSTEM.c(70): warning C64: 'i2cUnstick': static function declared but not defined
compiling NVC40.c...
NVC40.c(70): warning C64: 'i2cUnstick': static function declared but not defined
compiling StcRtc.c...
StcRtc.c(70): warning C64: 'i2cUnstick': static function declared but not defined
compiling Ntc.c...
Ntc.c(70): warning C64: 'i2cUnstick': static function declared but not defined
compiling BlueCtrl.c...
BlueCtrl.c(70): warning C64: 'i2cUnstick': static function declared but not defined
compiling GpsCtrl.c...
GpsCtrl.c(70): warning C64: 'i2cUnstick': static function declared but not defined
compiling IAPRW.c...
IAPRW.c(521): warning C188: 'parameter 2': value truncated
IAPRW.c(940): warning C188: 'parameter 2': value truncated
IAPRW.c(941): warning C188: 'parameter 2': value truncated
IAPRW.c(942): warning C188: 'parameter 2': value truncated
IAPRW.c(943): warning C188: 'parameter 2': value truncated
IAPRW.c(944): warning C188: 'parameter 2': value truncated
IAPRW.c(945): warning C188: 'parameter 2': value truncated
IAPRW.

免责声明:

本平台旨在开源共享精神,请勿发布敏感信息,任何违法信息我们将移交公安机关;

热门标签 更多

QQ|手机版|小黑屋|深圳国芯人工智能有限公司 ( 粤ICP备2022108929号-2 )

GMT+8, 2025-5-15 11:27 , Processed in 0.062958 second(s), 28 queries .

Powered by Discuz! X3.5

© 2001-2025 Discuz! Team.

返回顶部