VirtualBox

vbox的更動 62635 路徑 trunk/src/VBox/Runtime


忽略:
時間撮記:
2016-7-28 下午04:42:06 (8 年 以前)
作者:
vboxsync
訊息:

warnings

位置:
trunk/src/VBox/Runtime
檔案:
修改 6 筆資料

圖例:

未更動
新增
刪除
  • trunk/src/VBox/Runtime/VBox/VBoxRTDeps.cpp

    r62477 r62635  
    4242#include <openssl/md5.h>
    4343#include <openssl/rc4.h>
    44 #include <openssl/pem.h>
     44#ifdef RT_OS_WINDOWS
     45# include <iprt/win/windows.h>
     46#endif
     47#include <openssl/pem.h> /* drags in Windows.h */
    4548#include <openssl/x509.h>
    4649#include <openssl/rsa.h>
  • trunk/src/VBox/Runtime/common/misc/s3.cpp

    r62477 r62635  
    3939#include <iprt/stream.h>
    4040
     41#ifdef RT_OS_WINDOWS /* OpenSSL drags in Windows.h, which isn't compatible with -Wall.  */
     42# include <iprt/win/windows.h>
     43#endif
    4144#include <curl/curl.h>
    4245#include <openssl/hmac.h>
  • trunk/src/VBox/Runtime/generic/http-curl.cpp

    r62570 r62635  
    5454#include "internal/magics.h"
    5555
     56#ifdef RT_OS_WINDOWS /* curl.h drags in windows.h which isn't necessarily -Wall clean. */
     57# include <iprt/win/windows.h>
     58#endif
    5659#include <curl/curl.h>
    5760
     
    14241427         * special "<local>" entry matches anything without a dot.
    14251428         */
    1426         RTNETADDRU  HostAddr;
     1429        RTNETADDRU  HostAddr = { 0, 0 };
    14271430        int         fIsHostIpv4Address = -1;
    14281431        char *pszEntry = pszBypassFree;
     
    15541557            if (pszEqual)
    15551558            {
    1556                 if (   pszEqual - pszEntry == cchUrlScheme
     1559                if (   (uintptr_t)(pszEqual - pszEntry) == cchUrlScheme
    15571560                    && RTStrNICmp(pszEntry, pszUrlScheme, cchUrlScheme) == 0)
    15581561                {
     
    15641567            {
    15651568                bool fSchemeMatch = pszEndOfScheme
    1566                                  && pszEndOfScheme - pszEntry == cchUrlScheme
     1569                                 && (uintptr_t)(pszEndOfScheme - pszEntry) == cchUrlScheme
    15671570                                 && RTStrNICmp(pszEntry, pszUrlScheme, cchUrlScheme) == 0;
    15681571                if (   !pszBestEntry
     
    16211624         */
    16221625        WINHTTP_PROXY_INFO          ProxyInfo;
    1623         PRTUTF16                    pwszProxy = NULL;
    1624         PRTUTF16                    pwszNoProxy = NULL;
    16251626        WINHTTP_AUTOPROXY_OPTIONS   AutoProxyOptions;
    16261627        RT_ZERO(AutoProxyOptions);
     
    18731874        if (pThis->fDeleteCaFile)
    18741875        {
    1875             int rc2 = RTFileDelete(pThis->pszCaFile);
     1876            int rc2 = RTFileDelete(pThis->pszCaFile); RT_NOREF_PV(rc2);
    18761877            AssertMsg(RT_SUCCESS(rc2) || !RTFileExists(pThis->pszCaFile), ("rc=%Rrc '%s'\n", rc2, pThis->pszCaFile));
    18771878        }
  • trunk/src/VBox/Runtime/r3/win/dllmain-win.cpp

    r62592 r62635  
    4141BOOL __stdcall DllMain(HANDLE hModule, DWORD dwReason, PVOID pvReserved)
    4242{
     43    RT_NOREF_PV(pvReserved);
     44
    4345    switch (dwReason)
    4446    {
  • trunk/src/VBox/Runtime/r3/win/fileaio-win.cpp

    r62592 r62635  
    126126RTR3DECL(int) RTFileAioGetLimits(PRTFILEAIOLIMITS pAioLimits)
    127127{
    128     int rcBSD = 0;
    129128    AssertPtrReturn(pAioLimits, VERR_INVALID_POINTER);
    130129
     
    224223    RTFILEAIOREQ_NOT_STATE_RETURN_RC(pReqInt, SUBMITTED, VERR_FILE_AIO_IN_PROGRESS);
    225224    AssertReturn(hFile != NIL_RTFILE, VERR_INVALID_HANDLE);
     225    RT_NOREF_PV(pvUser);
    226226
    227227    return VERR_NOT_SUPPORTED;
     
    271271}
    272272
    273 RTDECL(int) RTFileAioCtxCreate(PRTFILEAIOCTX phAioCtx, uint32_t cAioReqsMax,
    274                                uint32_t fFlags)
     273RTDECL(int) RTFileAioCtxCreate(PRTFILEAIOCTX phAioCtx, uint32_t cAioReqsMax, uint32_t fFlags)
    275274{
    276275    PRTFILEAIOCTXINTERNAL pCtxInt;
    277276    AssertPtrReturn(phAioCtx, VERR_INVALID_POINTER);
    278277    AssertReturn(!(fFlags & ~RTFILEAIOCTX_FLAGS_VALID_MASK), VERR_INVALID_PARAMETER);
     278    RT_NOREF_PV(cAioReqsMax);
    279279
    280280    pCtxInt = (PRTFILEAIOCTXINTERNAL)RTMemAllocZ(sizeof(RTFILEAIOCTXINTERNAL));
     
    334334RTDECL(uint32_t) RTFileAioCtxGetMaxReqCount(RTFILEAIOCTX hAioCtx)
    335335{
     336    RT_NOREF_PV(hAioCtx);
    336337    return RTFILEAIO_UNLIMITED_REQS;
    337338}
  • trunk/src/VBox/Runtime/r3/xml.cpp

    r62566 r62635  
    18391839        error = x.what();
    18401840    }
     1841
     1842private:
     1843    DECLARE_CLS_COPY_CTOR_ASSIGN_NOOP(IOContext) /* (shuts up C4626 and C4625 MSC warnings) */
    18411844};
    18421845
     
    18471850    {
    18481851    }
     1852
     1853private:
     1854    DECLARE_CLS_COPY_CTOR_ASSIGN_NOOP(ReadContext) /* (shuts up C4626 and C4625 MSC warnings) */
    18491855};
    18501856
     
    18551861    {
    18561862    }
     1863
     1864private:
     1865    DECLARE_CLS_COPY_CTOR_ASSIGN_NOOP(WriteContext) /* (shuts up C4626 and C4625 MSC warnings) */
    18571866};
    18581867
注意: 瀏覽 TracChangeset 來幫助您使用更動檢視器

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