閱讀247 返回首頁    go 阿裏雲 go 技術社區[雲棲]


error: 'FALSE' undeclared (first use in this function)

在gcc中編譯出現錯誤提示:error: 'FALSE' undeclared (first use in this function)

解決方法:

#ifndef FALSE
#define FALSE   (0)
#endif


#ifndef TRUE
#define TRUE    (!FALSE)
#endif


最後更新:2017-04-02 06:52:03

  上一篇:go 關於獲取字符串的長度
  下一篇:go 判斷eclipse版本能否支持java 1.7的方法