make警告:control reaches end of non-void function [-Wreturn-type] }
错误警告事例:
bool test()
{
printf("test\n");
}
修改:
bool test()
{
printf("test\n");
return true; //加上返回值解除警告
}
错误警告事例:
bool test()
{
printf("test\n");
}
修改:
bool test()
{
printf("test\n");
return true; //加上返回值解除警告
}