error: static declaration of 'set_radio' follows non-static declaration
set_radio(radio_cfg_db radio)
^
2018年2月13日 星期二
[C] error : static declaration follows non-static declaration (2)
error message
2017年10月20日 星期五
C - Standard Predefined Macros
C 語言有些預先定義的巨集 ( Standard Predefined Macros ) ,
可以直接印出行數、檔案名稱、函數名稱 ...
-
例如 :
如果要用 printf 印出行數時 , 不需要特別針對每一行去寫每一行的行數 ,
也不用因爲前面多了幾行程式 , 就要把後面 printf 要印出的行數全部重新寫
-
2017年10月12日 星期四
[C] error : dereferencing pointer to incomplete type
error message
error: dereferencing pointer to incomplete type
if ( ioctl ( drv->ioctl_sock, IEEE80211_IOCTL_GETCHANINFO, &iwr ) < 0 ) {
^
[C] error : static declaration follows non-static declaration (1)
error message
error: static declaration of 'call80211ioctl' follows non-static declaration
call80211ioctl ( struct atheros_driver_data *drv, int op, struct iwreq *iwr )
^
訂閱:
文章 (Atom)