VirtualBox

Changeset 84406 in vbox for trunk/include/iprt/win


Ignore:
Timestamp:
May 20, 2020 2:27:48 PM (5 years ago)
Author:
vboxsync
Message:

iprt/win: VC++ 19.0 adjustments. bugref:8489

Location:
trunk/include/iprt/win
Files:
1 added
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/iprt/win/d3dkmthk.h

    r83831 r84406  
    3232#ifdef _MSC_VER
    3333# pragma warning(push)
    34 # if _MSC_VER >= 1910 /*RT_MSC_VER_VC141*/
     34# if _MSC_VER >= 1900 /*RT_MSC_VER_VC140*/
    3535#  pragma warning(disable:4255) /* d3dkmthk.h(2061): warning C4255: 'PFND3DKMT_CHECKEXCLUSIVEOWNERSHIP': no function prototype given: converting '()' to '(void)' */
    3636# endif
  • trunk/include/iprt/win/dbghelp.h

    r83767 r84406  
    3232#ifdef _MSC_VER
    3333/*
    34  * Unfortunately, the Windows.h file in SDK 7.1 is not clean wrt warning C4091 with VCC141:
     34 * Unfortunately, the Windows.h file in SDK 7.1 is not clean wrt warning C4091 with VCC140+:
    3535 *      Dbghelp.h(1540): warning C4091: 'typedef ': ignored on left of '<unnamed-enum-hdBase>' when no variable is declared
    3636 *      Dbghelp.h(3056): warning C4091: 'typedef ': ignored on left of '<unnamed-enum-sfImage>' when no variable is declared
    3737 */
    3838# pragma warning(push)
    39 # if _MSC_VER >= 1910 /*RT_MSC_VER_VC141*/
     39# if _MSC_VER >= 1900 /*RT_MSC_VER_VC140*/
    4040#  pragma warning(disable:4091)
    4141# endif
  • trunk/include/iprt/win/imagehlp.h

    r83769 r84406  
    3737 */
    3838# pragma warning(push)
    39 # if _MSC_VER >= 1910 /*RT_MSC_VER_VC141*/
     39# if _MSC_VER >= 1900 /*RT_MSC_VER_VC140*/
    4040#  pragma warning(disable:4091)
    4141# endif
  • trunk/include/iprt/win/shlobj.h

    r83737 r84406  
    3333# pragma warning(push)
    3434# pragma warning(disable:4668) /* warning C4668: 'USE_SP_ALTPLATFORM_INFO_V1' is not defined as a preprocessor macro, replacing with '0' for '#if/#elif' */
    35 #endif
    36 #if _MSC_VER >= 1800 /*RT_MSC_VER_VC120*/
    37 # pragma warning(disable:4005) /* sdk/v7.1/include/sal_supp.h(57) : warning C4005: '__useHeader' : macro redefinition */
    38 # pragma warning(disable:4255) /* windef.h(227) : warning C4255: 'NEARPROC' : no function prototype given: converting '()' to '(void)' */
    39 #endif
    40 #if _MSC_VER >= 1910 /*RT_MSC_VER_VC141*/
    41 # pragma warning(disable:4768) /* sdk/v7.1/include/shlobj.h(1065): warning C4768: __declspec attributes before linkage specification are ignored */
    42 # pragma warning(disable:4091) /* sdk/v7.1/include/shlobj.h(1151): warning C4091: 'typedef ': ignored on left of 'tagGPFIDL_FLAGS' when no variable is declared */
     35# if _MSC_VER >= 1800 /*RT_MSC_VER_VC120*/
     36#  pragma warning(disable:4005) /* sdk/v7.1/include/sal_supp.h(57) : warning C4005: '__useHeader' : macro redefinition */
     37#  pragma warning(disable:4255) /* windef.h(227) : warning C4255: 'NEARPROC' : no function prototype given: converting '()' to '(void)' */
     38# endif
     39# if _MSC_VER >= 1900 /*RT_MSC_VER_VC140*/
     40#  pragma warning(disable:4091) /* sdk/v7.1/include/shlobj.h(1151): warning C4091: 'typedef ': ignored on left of 'tagGPFIDL_FLAGS' when no variable is declared */
     41# endif
     42# if _MSC_VER >= 1910 /*RT_MSC_VER_VC141*/
     43#  pragma warning(disable:4768) /* sdk/v7.1/include/shlobj.h(1065): warning C4768: __declspec attributes before linkage specification are ignored */
     44# endif
    4345#endif
    4446
Note: See TracChangeset for help on using the changeset viewer.

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