VirtualBox

Changeset 84407 in vbox


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

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

Location:
trunk/include/iprt
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/iprt/cpp/exception.h

    r83795 r84407  
    3333#include <exception>
    3434
    35 #ifndef DOXYGEN_RUNNING
    36 # if RT_MSC_PREREQ(RT_MSC_VER_VC141)
    37 #  pragma warning(push)
    38 #  pragma warning(disable:4275) /* non dll-interface class 'std::exception' used as base for dll-interface class 'RTCError' */
    39 # endif
     35#if RT_MSC_PREREQ(RT_MSC_VER_VC140)
     36# pragma warning(push)
     37# pragma warning(disable:4275) /* non dll-interface class 'std::exception' used as base for dll-interface class 'RTCError' */
    4038#endif
    4139
     
    104102/** @} */
    105103
    106 #ifndef DOXYGEN_RUNNING
    107 # if RT_MSC_PREREQ(RT_MSC_VER_VC141)
    108 #  pragma warning(pop)
    109 # endif
     104#if RT_MSC_PREREQ(RT_MSC_VER_VC140)
     105# pragma warning(pop)
    110106#endif
    111107#endif /* !IPRT_INCLUDED_cpp_exception_h */
  • trunk/include/iprt/nocrt/compiler/msc.h

    r83775 r84407  
    3535# define errno msvcrt_errno
    3636#endif
    37 #if _MSC_VER >= 1910
     37#if _MSC_VER >= 1900
    3838# include <vcruntime.h>
    3939#else
  • trunk/include/iprt/types.h

    r84135 r84407  
    186186#  undef bool
    187187
    188 # elif !defined(DOXYGEN_RUNNING) && RT_MSC_PREREQ(RT_MSC_VER_VC141) && defined(RT_OS_AGNOSTIC)
     188# elif !defined(DOXYGEN_RUNNING) && RT_MSC_PREREQ(RT_MSC_VER_VC140) && defined(RT_OS_AGNOSTIC)
    189189    /* Try avoid needing the UCRT just for stddef.h and sys/types.h. */
    190190    /** @todo refine the RT_OS_AGNOSTIC test? */
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