VirtualBox

Changeset 54372 in vbox


Ignore:
Timestamp:
Feb 23, 2015 10:20:42 AM (10 years ago)
Author:
vboxsync
Message:

Runtime/alloc-ef-cpp: compile fix for gcc 5

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r3/alloc-ef-cpp.cpp

    r48935 r54372  
    5858#  define RT_EF_THROWS_BAD_ALLOC
    5959# else
    60 #  define RT_EF_THROWS_BAD_ALLOC     throw(std::bad_alloc)
     60#  ifdef _GLIBCXX_THROW
     61#   define RT_EF_THROWS_BAD_ALLOC     _GLIBCXX_THROW(std::bad_alloc)
     62#  else
     63#   define RT_EF_THROWS_BAD_ALLOC     throw(std::bad_alloc)
     64#  endif
    6165# endif
    6266#else  /* !RT_EXCEPTIONS_ENABLED */
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