VirtualBox

Changeset 85193 in vbox for trunk/src/VBox/Devices/build


Ignore:
Timestamp:
Jul 10, 2020 3:09:57 PM (5 years ago)
Author:
vboxsync
Message:

VBoxDDUDeps.cpp,DevINIP.cpp: Workaround for Clang 11 nothrow bug/weirdness. bugref:9794

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/build/VBoxDDUDeps.cpp

    r82968 r85193  
    3434 * function pointers to code which is wanted in the link.
    3535 */
    36 PFNRT g_apfnVBoxDDUDeps[] =
     36struct CLANG11WEIRDNESS { PFNRT pfn; } g_apfnVBoxDDUDeps[] =
    3737{
    38     (PFNRT)VDInit,
    39     (PFNRT)VDIfCreateVfsStream,
    40     (PFNRT)VDIfCreateFromVfsStream,
    41     (PFNRT)VDCreateVfsFileFromDisk,
    42     (PFNRT)VDIfTcpNetInstDefaultCreate,
     38    { (PFNRT)VDInit },
     39    { (PFNRT)VDIfCreateVfsStream },
     40    { (PFNRT)VDIfCreateFromVfsStream },
     41    { (PFNRT)VDCreateVfsFileFromDisk },
     42    { (PFNRT)VDIfTcpNetInstDefaultCreate },
    4343#ifdef VBOX_WITH_USB
    44     (PFNRT)USBFilterInit,
    45     (PFNRT)USBLibHashSerial,
     44    { (PFNRT)USBFilterInit },
     45    { (PFNRT)USBLibHashSerial },
    4646# ifdef RT_OS_OS2
    47     (PFNRT)UsbOpen,
     47    { (PFNRT)UsbOpen },
    4848# endif
    4949# if defined(RT_OS_DARWIN) || defined(RT_OS_SOLARIS) || defined(RT_OS_WINDOWS) /* PORTME */
    50     (PFNRT)USBLibInit,
     50    { (PFNRT)USBLibInit },
    5151# endif
    5252#endif /* VBOX_WITH_USB */
    53     NULL
     53    { NULL },
    5454};
    5555
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