Changeset 55192 in vbox for trunk/include/iprt
- Timestamp:
- Apr 10, 2015 5:43:53 PM (10 years ago)
- Location:
- trunk/include/iprt
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/iprt/assert.h
r48934 r55192 1614 1614 if (RT_UNLIKELY(!(expr))) \ 1615 1615 { \ 1616 RTAssertMsg1Weak(#expr, __LINE__, __FILE__, __PRETTY_FUNCTION__); \1616 RTAssertMsg1Weak(#expr, __LINE__, __FILE__, RT_GCC_EXTENSION __PRETTY_FUNCTION__); \ 1617 1617 RTAssertReleasePanic(); \ 1618 1618 } \ … … 1829 1829 #define AssertReleaseMsgFailed(a) \ 1830 1830 do { \ 1831 RTAssertMsg1Weak((const char *)0, __LINE__, __FILE__, __PRETTY_FUNCTION__); \1831 RTAssertMsg1Weak((const char *)0, __LINE__, __FILE__, RT_GCC_EXTENSION __PRETTY_FUNCTION__); \ 1832 1832 RTAssertMsg2Weak a; \ 1833 1833 RTAssertReleasePanic(); \ … … 1940 1940 for (;;) \ 1941 1941 { \ 1942 RTAssertMsg1Weak((const char *)0, __LINE__, __FILE__, __PRETTY_FUNCTION__); \1942 RTAssertMsg1Weak((const char *)0, __LINE__, __FILE__, RT_GCC_EXTENSION __PRETTY_FUNCTION__); \ 1943 1943 RTAssertReleasePanic(); \ 1944 1944 } \ … … 1954 1954 for (;;) \ 1955 1955 { \ 1956 RTAssertMsg1Weak((const char *)0, __LINE__, __FILE__, __PRETTY_FUNCTION__); \1956 RTAssertMsg1Weak((const char *)0, __LINE__, __FILE__, RT_GCC_EXTENSION __PRETTY_FUNCTION__); \ 1957 1957 RTAssertMsg2Weak a; \ 1958 1958 RTAssertReleasePanic(); \ -
trunk/include/iprt/cdefs.h
r55124 r55192 2638 2638 2639 2639 /** Source position. */ 2640 #define RT_SRC_POS __FILE__, __LINE__, __PRETTY_FUNCTION__2640 #define RT_SRC_POS __FILE__, __LINE__, RT_GCC_EXTENSION __PRETTY_FUNCTION__ 2641 2641 2642 2642 /** Source position declaration. */
Note:
See TracChangeset
for help on using the changeset viewer.