VirtualBox

Changeset 62155 in vbox for trunk


Ignore:
Timestamp:
Jul 11, 2016 11:00:17 AM (9 years ago)
Author:
vboxsync
Message:

introduced RT_GCC_NO_DEPRECATED_BEGIN / RT_GCC_NO_DEPRECATED_END

File:
1 edited

Legend:

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

    r60964 r62155  
    986986#else
    987987# define RT_GCC_EXTENSION
     988#endif
     989
     990#if RT_GNUC_PREREQ(4, 6)
     991# define RT_GCC_NO_DEPRECATED_BEGIN \
     992   _Pragma("GCC diagnostic push") \
     993   _Pragma("GCC diagnostic ignored \"-Wdeprecated-declarations\"")
     994# define RT_GCC_NO_DEPRECATED_END \
     995   _Pragma("GCC diagnostic pop")
     996#else
     997# define RT_GCC_NO_DEPRECATED_BEGIN
     998# define RT_GCC_NO_DEPRECATED_END
    988999#endif
    9891000
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