日本黄色一级经典视频|伊人久久精品视频|亚洲黄色色周成人视频九九九|av免费网址黄色小短片|黄色Av无码亚洲成年人|亚洲1区2区3区无码|真人黄片免费观看|无码一级小说欧美日免费三级|日韩中文字幕91在线看|精品久久久无码中文字幕边打电话

當(dāng)前位置:首頁 > 單片機 > 單片機
[導(dǎo)讀] 1、warning: no newline at end of file在文件最后一行加上回車鍵解釋:在《Rationale for the C99 standard》一文中,有C99的相關(guān)信息:A backslash immediately before a newline has long been used to continue

 1、warning: no newline at end of file

在文件最后一行加上回車鍵

解釋:在《Rationale for the C99 standard》一文中,有C99的相關(guān)信息:

A backslash immediately before a newline has long been used to continue string literals, as well as preprocessing command lines. In the interest of easing machine generation of C, and of transporting code to machines with restrictive physical line lengths, the C89 Committee generalized this mechanism to permit any token to be continued by interposing a backslash/newline sequence.

c/c++代碼的每一行后面有一個“結(jié)束符”,也就是newline。避免當(dāng)被include的文件展開后,前一個文件的最后一行與后一個文件的第一行直接被連接成一行從而造成錯誤。

2、warning: comparison between pointer and integer

解釋:integer與pointer比較

3、 warning: assignment discards qualifiers from pointer target type

解釋:賦值時,取消了右值的限定。

4、 warning: passing argument 1 of 'send' makes pointer from integer without a cast

解釋:函數(shù)send的第一個integer型參數(shù)沒有強制轉(zhuǎn)換為pointer型

5、warning: comparison is always true due to limited range of data type

解釋:由于數(shù)據(jù)類型范圍的限制,比較結(jié)果一直為真。

6、warning: initialization from incompatible pointer type

解釋:不兼容指針類型的初始化

7、 warning: return makes pointer from integer without a cast

解釋:return使integer轉(zhuǎn)換為pointer,沒有加強制類型轉(zhuǎn)換。

8、warning: incompatible implicit declaration of built-in function 'printf'

解釋:與內(nèi)置的printf函數(shù)隱士聲明不兼容。

9、warning: initialization discards qualifiers from pointer target type

解釋:initialization取消了指針目標(biāo)類型的限定。

10、warning: comparison is always false due to limited range of data type

由于類型限制,比較一直是假

11、warning: assignment from incompatible pointer type

不兼容的指針間賦值

12、warning: passing argument 1 of 'mes_read_time' discards qualifiers from pointer target type12、

mes_函數(shù)第一個參數(shù)的傳遞,丟棄了指針目標(biāo)類型限定。

13、warning: "protocol_type" redefined

——type重定義

14、warning: 'return' with a value, in function returning void

在void返回類型的函數(shù)中,return返回值。

本站聲明: 本文章由作者或相關(guān)機構(gòu)授權(quán)發(fā)布,目的在于傳遞更多信息,并不代表本站贊同其觀點,本站亦不保證或承諾內(nèi)容真實性等。需要轉(zhuǎn)載請聯(lián)系該專欄作者,如若文章內(nèi)容侵犯您的權(quán)益,請及時聯(lián)系本站刪除( 郵箱:macysun@21ic.com )。
換一批
延伸閱讀
關(guān)閉