我在main后面定义了getMyfilename()函数,然后就报出这个warning。
在main前声明一下就好了。
转载于:https://www.cnblogs.com/marsdu/p/3379140.html