VirtualBox

Ignore:
Timestamp:
Apr 10, 2015 5:43:53 PM (10 years ago)
Author:
vboxsync
Message:

gcc 5 is very picky regarding FUNCTION and PRETTY_FUNCTION in C90 code

Location:
trunk/src/VBox/Additions/x11/vboxvideo
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/x11/vboxvideo/vboxvideo.h

    r55191 r55192  
    9191    vbvxMsg("\nAssertion failed!\n\n"); \
    9292    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__); \
    9494    vbvxMsg out; \
    9595    vbvxAbortServer(); \
  • trunk/src/VBox/Additions/x11/vboxvideo/vboxvideo_dri.c

    r49696 r55192  
    182182    {
    183183        xf86DrvMsg(pScrn->scrnIndex, X_ERROR, "%s: preconditions failed\n",
    184                    __PRETTY_FUNCTION__);
     184                   RT_GCC_EXTENSION __PRETTY_FUNCTION__);
    185185        rc = FALSE;
    186186    }
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