亚洲春色中文字幕久久久-三上亚,一吻二脱三床四吻胸,国产真实伦对白视频全集,在线毛片观看,精品成品入口黄网,国产毛aⅴ片久久久,亚洲AV色香蕉一区二区三区老师,萧皇后A级艳片,色情日本视频更新,99久久亚洲精品日本无码

標題: 搞定Warning[Pa082]: undefined behavior: the order of volatile accesses is und... [打印本頁]

作者: heicad    時間: 2014-5-20 16:02
標題: 搞定Warning[Pa082]: undefined behavior: the order of volatile accesses is und...
今天搞定了一個小錯誤,使用IAR編譯時使用2個volatile變量在同一語句時出如下警告
Warning[Pa082]: undefined behavior: the order of volatile accesses is undefined in this statement

查資后得知原因是:volatile變量一般使用在多線程等場合,如果同一語句使用2個此變量,會出現訪問順序不可預知的后果,所以要解決此問題可以把其中一個先讀取存放到一個局部變量中,再和另一個進行運算.





歡迎光臨 (http://www.denmoz.com/bbs/) Powered by Discuz! X3.1