Changeset 55192 in vbox
- Timestamp:
- Apr 10, 2015 5:43:53 PM (10 years ago)
- svn:sync-xref-src-repo-rev:
- 99498
- Location:
- trunk
- Files:
-
- 5 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. */ -
trunk/src/VBox/Additions/x11/vboxvideo/vboxvideo.h
r55191 r55192 91 91 vbvxMsg("\nAssertion failed!\n\n"); \ 92 92 vbvxMsg("%s\n", #expr); \ 93 vbvxMsg("at %s (%s:%d)\n", __PRETTY_FUNCTION__, __FILE__, __LINE__); \93 vbvxMsg("at %s (%s:%d)\n", RT_GCC_EXTENSION __PRETTY_FUNCTION__, __FILE__, __LINE__); \ 94 94 vbvxMsg out; \ 95 95 vbvxAbortServer(); \ -
trunk/src/VBox/Additions/x11/vboxvideo/vboxvideo_dri.c
r49696 r55192 182 182 { 183 183 xf86DrvMsg(pScrn->scrnIndex, X_ERROR, "%s: preconditions failed\n", 184 __PRETTY_FUNCTION__);184 RT_GCC_EXTENSION __PRETTY_FUNCTION__); 185 185 rc = FALSE; 186 186 } -
trunk/src/VBox/Devices/Network/slirp/bsd/sys/mbuf.h
r39085 r55192 61 61 } 62 62 /* for non-gnu compilers */ 63 # define __func__ __FUNCTION__63 # define __func__ RT_GCC_EXTENSION __FUNCTION__ 64 64 # ifndef __inline 65 65 # define __inline
Note:
See TracChangeset
for help on using the changeset viewer.