VirtualBox

Changeset 85321 in vbox for trunk/src/VBox/Additions


Ignore:
Timestamp:
Jul 13, 2020 9:27:57 PM (5 years ago)
Author:
vboxsync
Message:

VBoxGuest.cpp: Workaround for Clang 11 nothrow bug/weirdness. bugref:9794

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/common/VBoxGuest/VBoxGuest.cpp

    r83142 r85321  
    120120 * rest of the kernel modules on Solaris.
    121121 */
    122 PFNRT g_apfnVBoxGuestIPRTDeps[] =
     122struct CLANG11WEIRDNESS { PFNRT pfn; } g_apfnVBoxGuestIPRTDeps[] =
    123123{
    124124    /* VirtioNet */
    125     (PFNRT)RTRandBytes,
     125    { (PFNRT)RTRandBytes },
    126126    /* RTSemMutex* */
    127     (PFNRT)RTSemMutexCreate,
    128     (PFNRT)RTSemMutexDestroy,
    129     (PFNRT)RTSemMutexRequest,
    130     (PFNRT)RTSemMutexRequestNoResume,
    131     (PFNRT)RTSemMutexRequestDebug,
    132     (PFNRT)RTSemMutexRequestNoResumeDebug,
    133     (PFNRT)RTSemMutexRelease,
    134     (PFNRT)RTSemMutexIsOwned,
    135     NULL
     127    { (PFNRT)RTSemMutexCreate },
     128    { (PFNRT)RTSemMutexDestroy },
     129    { (PFNRT)RTSemMutexRequest },
     130    { (PFNRT)RTSemMutexRequestNoResume },
     131    { (PFNRT)RTSemMutexRequestDebug },
     132    { (PFNRT)RTSemMutexRequestNoResumeDebug },
     133    { (PFNRT)RTSemMutexRelease },
     134    { (PFNRT)RTSemMutexIsOwned },
     135    { NULL }
    136136};
    137137#endif  /* RT_OS_DARWIN || RT_OS_SOLARIS  */
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