VirtualBox

儲存庫 vbox 的更動 62740


忽略:
時間撮記:
2016-7-30 下午12:29:40 (8 年 以前)
作者:
vboxsync
訊息:

VDI*: Disabling MSC warnings for the v1plus UUIDs alignment 'problem'. Should be rather harmless since UUIDs aren't really two uint64_t's.

位置:
trunk/src/VBox/Storage
檔案:
修改 2 筆資料

圖例:

未更動
新增
刪除
  • trunk/src/VBox/Storage/VDI.cpp

    r62153 r62740  
    373373
    374374    /* Init uuids. */
     375#ifdef _MSC_VER
     376# pragma warning(disable:4366) /* (harmless "misalignment") */
     377#endif
    375378    RTUuidCreate(&pHeader->u.v1plus.uuidCreate);
    376379    RTUuidClear(&pHeader->u.v1plus.uuidModify);
    377380    RTUuidClear(&pHeader->u.v1plus.uuidLinkage);
    378381    RTUuidClear(&pHeader->u.v1plus.uuidParentModify);
     382#ifdef _MSC_VER
     383# pragma warning(default:4366)
     384#endif
    379385
    380386    /* Mark LCHS geometry not-calculated. */
  • trunk/src/VBox/Storage/VDICore.h

    r62482 r62740  
    468468}
    469469
     470#ifdef _MSC_VER
     471# pragma warning(disable:4366) /* (harmless "misalignment") */
     472#endif
     473
    470474DECLINLINE(PRTUUID) getImageCreationUUID(PVDIHEADER ph)
    471475{
     
    510514    return NULL;
    511515}
     516
     517#ifdef _MSC_VER
     518# pragma warning(default:4366)
     519#endif
    512520
    513521/**
注意: 瀏覽 TracChangeset 來幫助您使用更動檢視器

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