Changeset 57430 in vbox for trunk/include/iprt
- Timestamp:
- Aug 18, 2015 2:37:20 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/iprt/cdefs.h
r57336 r57430 882 882 * to catch any of them. Put this between the closing parenthesis 883 883 * and the semicolon in function prototypes (and implementation if C++). 884 * 885 * @remarks The use of the nothrow attribute with GCC is because old compilers 886 * (4.1.1, 32-bit) leaking the nothrow into global space or something 887 * when used with RTDECL or similar. 884 888 */ 885 889 #ifdef RT_EXCEPTIONS_ENABLED 886 # define RT_NO_THROW throw() 890 # ifdef __GNUC__ 891 # define RT_NO_THROW __attribute__((nothrow)) 892 # else 893 # define RT_NO_THROW throw() 894 # endif 887 895 #else 888 896 # define RT_NO_THROW
Note:
See TracChangeset
for help on using the changeset viewer.