这种错误,
原因是 调用的静态函数没有先声明一下,就是它定义在你调用之后啦。
解决:调用之前声明一下这个函数。
static declaration follows non-static declaration 的错误 (解决办法看这里),布布扣,bubuko.com
static declaration follows non-static declaration 的错误 (解决办法看这里)
原文:http://blog.csdn.net/h_o_w_e/article/details/24458901