VirtualBox

Ignore:
Timestamp:
Jul 10, 2020 12:09:50 PM (5 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
139135
Message:

SUPDrv.cpp: Clang 11 nothrow workaround. bugref:9794

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/Support/SUPDrv.cpp

    r85041 r85171  
    484484 * rest of the kernel modules on darwin.
    485485 */
    486 PFNRT g_apfnVBoxDrvIPRTDeps[] =
     486struct CLANG11WERIDNESS { PFNRT pfn; } g_apfnVBoxDrvIPRTDeps[] =
    487487{
    488488    /* VBoxNetAdp */
    489     (PFNRT)RTRandBytes,
     489    { (PFNRT)RTRandBytes },
    490490    /* VBoxUSB */
    491     (PFNRT)RTPathStripFilename,
     491    { (PFNRT)RTPathStripFilename },
    492492#if !defined(RT_OS_FREEBSD)
    493     (PFNRT)RTHandleTableAlloc,
    494     (PFNRT)RTStrPurgeEncoding,
     493    { (PFNRT)RTHandleTableAlloc },
     494    { (PFNRT)RTStrPurgeEncoding },
    495495#endif
    496     NULL
     496    { NULL }
    497497};
    498498#endif  /* RT_OS_DARWIN || RT_OS_SOLARIS || RT_OS_FREEBSD */
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette