VirtualBox

儲存庫 kBuild 的更動 1732


忽略:
時間撮記:
2008-9-5 上午04:34:18 (16 年 以前)
作者:
bird
訊息:

kObjCache: shut up pedantic gcc warnings.

檔案:
修改 1 筆資料

圖例:

未更動
新增
刪除
  • trunk/src/kObjCache/kObjCache.c

    r1184 r1732  
    163163
    164164
     165#if 0 /* unused */
    165166static void ErrorMsg(const char *pszFormat, ...)
    166167{
     
    176177    va_end(va);
    177178}
     179#endif /* unused */
    178180
    179181
     
    11481150    }
    11491151    kOCSumFinalize(pSum, &Ctx);
     1152
     1153    (void)pEntry;
    11501154}
    11511155
     
    13621366    fprintf(pFile, "magic=kObjCacheEntry-v0.1.0\n");
    13631367    CHECK_LEN(fprintf(pFile, "target=%s\n", pEntry->New.pszTarget ? pEntry->New.pszTarget : pEntry->Old.pszTarget));
    1364     CHECK_LEN(fprintf(pFile, "key=%u\n", (unsigned long)pEntry->uKey));
     1368    CHECK_LEN(fprintf(pFile, "key=%lu\n", (unsigned long)pEntry->uKey));
    13651369    CHECK_LEN(fprintf(pFile, "obj=%s\n", pEntry->New.pszObjName ? pEntry->New.pszObjName : pEntry->Old.pszObjName));
    13661370    CHECK_LEN(fprintf(pFile, "cpp=%s\n", pEntry->New.pszCppName ? pEntry->New.pszCppName : pEntry->Old.pszCppName));
     
    16321636        FatalDie("%s - failed with rc %d\n", pszMsg, WEXITSTATUS(iStatus));
    16331637#endif
    1634     (void)cArgv;
     1638
     1639     (void)pEntry; (void)cArgv;
    16351640}
    16361641
     
    17731778    fcntl(pFDs[1], F_SETFD, FD_CLOEXEC);
    17741779#endif
     1780
     1781    (void)pEntry;
    17751782}
    17761783
     
    26002607    if (kOCEntryReadCppOutput(pEntry, &pEntry->Old, 1 /* nonfatal */) == -1)
    26012608        return 0;
    2602     //if ()
    2603     //    return kOCEntryCompareBest(pEntry);
     2609    /*if ()
     2610        return kOCEntryCompareBest(pEntry);*/
    26042611    return kOCEntryCompareFast(pEntry);
    26052612}
     
    30453052    }
    30463053    else if (   pCache->uGeneration
    3047              && pCache->uGeneration == atol(&g_szLine[sizeof("generation=") - 1]))
     3054             && (long)pCache->uGeneration == atol(&g_szLine[sizeof("generation=") - 1]))
    30483055    {
    30493056        InfoMsg(3, "drop re-read unmodified cache file\n");
     
    36433650            "            --kObjCache-cc <object> <compiler + args>\n"
    36443651            "            [--kObjCache-both [args]]\n"
     3652            );
     3653    fprintf(pOut,
    36453654            "            [--kObjCache-cpp|--kObjCache-cc [more args]]\n"
    36463655            "        kObjCache <-V|--version>\n"
注意: 瀏覽 TracChangeset 來幫助您使用更動檢視器

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette