有时不用管这个警告,见下面这个函数,读eeprom的,每次调用也会出现这个警告,比如vol=rd_eeprom(0);u8 rd_eeprom(u8 xdata *address){u8 val;EECON = 0x02;//AUXR |= 0x20; //M0 set to stretch MOVX controlval = *address;EECON = 0x00;return (val);}下次别问了 有翻译工...
因为“”内部,编译器是作为字符串处理的,所以是个指针,而你的函数参数是个uint型,所以会报错。另外,你的word是个int型,但在write_lcd_order函数中,是P2=datt,而P2是8位的,所以P2传出去的其实是datt的低字节,高字节根本未使用。你的函数有问题吧,指针的问题。把你的Write_lcd函数弄上来看看
Pointer to constant assigned address that does not contain a value expand all in page Description This defect occurs when a pointer to a constant (const int*, const char*, etc.) is assigned an address that does not yet contain a value. For instance: int x; const int * ptr = &x; Ri...
警告信息 "converting to non-pointer type 'int' from null [-wconversion-null]" 指出在编译过程中,存在将 NULL(或 nullptr 在C++11 及以后的版本中)转换为非指针类型 int 的情况。在 C 和 C++ 中,NULL(或 nullptr)通常用于表示指针不指向任何有效的内存地址。将 NULL(或 nullptr)直接赋给一个非指针类型...
aattentiong attentiong[translate] abustling 奔忙[translate] athey often go to play volleyball on the playground 他们在操场经常去打排球[translate] aimplicit cast of pointer to non-equal pointer 尖非相等的尖含蓄塑像[translate]
a我要喝酒去喽 I must drink[translate] a欺骗某人某物 Deceives somebody something[translate] aConversion from 'void*' to pointer to non-'void' requires an explicit cast 转换从‘void*’向非‘无效的’尖要求一个显式转换[translate]
Introduction Why We Need Them Syntax of Pointer-to-Pointer Syntax of Reference-to-Pointer Syntax of tracking reference to a handle(C++/CLI)(new)
amy dear, blow my kiss for you 我的亲爱,打击我的对于你的吻 [translate] agetting up is an everyday occurrence 起来是日常事件 [translate] aimplicit cast of pointer to non-equal pointer 尖非相等的尖含蓄塑像 [translate] 英语翻译 日语翻译 韩语翻译 德语翻译 法语翻译 俄语翻译 阿拉伯语翻译 西班牙...
[translate] apresent the document 提出本文 [translate] a莴笋汤 [translate] a和别人说话 With others speech [translate] aConversion from 'void*' to pointer to non-'void' requires an explicit cast 转换从‘void*’向非‘无效的’尖要求一个显式转换 [translate] ...
回答:你把一个非指针赋给了一个指针