VirtualBox

Changeset 40869 in vbox for trunk/include


Ignore:
Timestamp:
Apr 11, 2012 3:29:11 PM (13 years ago)
Author:
vboxsync
Message:

MSC v7.1 build fix.

Location:
trunk/include/iprt
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/iprt/cdefs.h

    r40838 r40869  
    600600#ifdef RT_EXCEPTIONS_ENABLED
    601601# ifdef _MSC_VER
    602 #  if _MSC_VER >= 1400
     602#  if _MSC_VER >= 1310
    603603#   define RT_THROW(type)
    604604#  else
  • trunk/include/iprt/mem.h

    r40314 r40869  
    729729            return pv; \
    730730        } \
    731         void *operator new(size_t cb, const std::nothrow_t &nothrow_constant) throw() \
     731        void *operator new(size_t cb, const std::nothrow_t &nothrow_constant) RT_NO_THROW \
    732732        { \
    733733            NOREF(nothrow_constant); \
     
    741741            return pv; \
    742742        } \
    743         void *operator new[](size_t cb, const std::nothrow_t &nothrow_constant) throw() \
     743        void *operator new[](size_t cb, const std::nothrow_t &nothrow_constant) RT_NO_THROW \
    744744        { \
    745745            NOREF(nothrow_constant); \
     
    747747        } \
    748748        \
    749         void operator delete(void *pv) throw() \
     749        void operator delete(void *pv) RT_NO_THROW \
    750750        { \
    751751            RTMemEfFree(pv, RT_SRC_POS); \
    752752        } \
    753         void operator delete(void *pv, const std::nothrow_t &nothrow_constant) throw() \
     753        void operator delete(void *pv, const std::nothrow_t &nothrow_constant) RT_NO_THROW \
    754754        { \
    755755            NOREF(nothrow_constant); \
    756756            RTMemEfFree(pv, RT_SRC_POS); \
    757757        } \
    758         void operator delete[](void *pv) throw() \
     758        void operator delete[](void *pv) RT_NO_THROW \
    759759        { \
    760760            RTMemEfFree(pv, RT_SRC_POS); \
    761761        } \
    762         void operator delete[](void *pv, const std::nothrow_t &nothrow_constant) throw() \
     762        void operator delete[](void *pv, const std::nothrow_t &nothrow_constant) RT_NO_THROW \
    763763        { \
    764764            NOREF(nothrow_constant); \
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