阅读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的方法