- Timestamp:
- Aug 27, 2018 8:53:50 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/iprt/cdefs.h
r73891 r73904 1112 1112 /** @def RT_OVERRIDE 1113 1113 * Wrapper for the C++11 override keyword. 1114 * 1115 * @remarks Recognized by g++ starting 4.7, however causes pedantic warnings 1116 * when used without officially enabling the C++11 features. 1114 1117 */ 1115 1118 #ifdef __cplusplus 1116 # if RT_MSC_PREREQ_EX(RT_MSC_VER_VS2012, 0) || RT_GNUC_PREREQ(4, 7)1119 # if RT_MSC_PREREQ_EX(RT_MSC_VER_VS2012, 0) 1117 1120 # define RT_OVERRIDE override 1121 # elif RT_GNUC_PREREQ(4, 7) 1122 # if __cplusplus >= 201100 1123 # define RT_OVERRIDE override 1124 # else 1125 # define RT_OVERRIDE 1126 # endif 1118 1127 # else 1119 1128 # define RT_OVERRIDE
Note:
See TracChangeset
for help on using the changeset viewer.