10
如何爲GCC下缺少的返回語句生成錯誤?關於缺少返回語句的錯誤
cpfsfuse.c:184: warning: no return statement in function returning non-void
我能爲隱函數的聲明(-Werror-implicit-function-declaration
)返回錯誤,我知道一個-Werror=
開關的,但我不能找到一個合適的警告提升至錯誤狀態。
我怎樣才能做到這一點?
輝煌的先生! – 2010-08-15 11:30:19