小编Mes*_*cas的帖子

警告:控制到达非void函数的结尾(c ++)

我得到这个错误,无法修复,我还是noob,如果有人可以帮助我,我会感谢你这个代码来自libxenon的xmplayer(对于jtag xbox)

(我尝试搜索类似的错误,但我找不到什么是错的)

  int FileSortCallback(const void *f1, const void *f2) {
    /* Special case for implicit directories */
    if (((BROWSERENTRY *) f1)->filename[0] == '.' || ((BROWSERENTRY *) f2)->filename[0] == '.') {
        if (strcmp(((BROWSERENTRY *) f1)->filename, ".") == 0) {
            return -1;
        }
        if (strcmp(((BROWSERENTRY *) f2)->filename, ".") == 0) {
            return 1;
        }
        if (strcmp(((BROWSERENTRY *) f1)->filename, "..") == 0) {
            return -1;
        }
        if (strcmp(((BROWSERENTRY *) f2)->filename, "..") == 0) {
            return 1; …
Run Code Online (Sandbox Code Playgroud)

c++ controls void

3
推荐指数
1
解决办法
3万
查看次数

标签 统计

c++ ×1

controls ×1

void ×1