VirtualBox

source: vbox/trunk/src/VBox/Devices/build/VBoxDDUDeps.cpp@ 92901

Last change on this file since 92901 was 85193, checked in by vboxsync, 4 years ago

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

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 1.8 KB
Line 
1/* $Id: VBoxDDUDeps.cpp 85193 2020-07-10 15:09:57Z vboxsync $ */
2/** @file
3 * VBoxDDU - For dragging in library objects.
4 */
5
6/*
7 * Copyright (C) 2007-2020 Oracle Corporation
8 *
9 * This file is part of VirtualBox Open Source Edition (OSE), as
10 * available from http://www.virtualbox.org. This file is free software;
11 * you can redistribute it and/or modify it under the terms of the GNU
12 * General Public License (GPL) as published by the Free Software
13 * Foundation, in version 2 as it comes in the "COPYING" file of the
14 * VirtualBox OSE distribution. VirtualBox OSE is distributed in the
15 * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
16 */
17
18
19/*********************************************************************************************************************************
20* Header Files *
21*********************************************************************************************************************************/
22#include <VBox/types.h>
23#include <VBox/vd.h>
24#ifdef VBOX_WITH_USB
25# include <VBox/usblib.h>
26# include <VBox/usbfilter.h>
27# ifdef RT_OS_OS2
28# include <os2.h>
29# include <usbcalls.h>
30# endif
31#endif
32
33/** Just a dummy global structure containing a bunch of
34 * function pointers to code which is wanted in the link.
35 */
36struct CLANG11WEIRDNESS { PFNRT pfn; } g_apfnVBoxDDUDeps[] =
37{
38 { (PFNRT)VDInit },
39 { (PFNRT)VDIfCreateVfsStream },
40 { (PFNRT)VDIfCreateFromVfsStream },
41 { (PFNRT)VDCreateVfsFileFromDisk },
42 { (PFNRT)VDIfTcpNetInstDefaultCreate },
43#ifdef VBOX_WITH_USB
44 { (PFNRT)USBFilterInit },
45 { (PFNRT)USBLibHashSerial },
46# ifdef RT_OS_OS2
47 { (PFNRT)UsbOpen },
48# endif
49# if defined(RT_OS_DARWIN) || defined(RT_OS_SOLARIS) || defined(RT_OS_WINDOWS) /* PORTME */
50 { (PFNRT)USBLibInit },
51# endif
52#endif /* VBOX_WITH_USB */
53 { NULL },
54};
55
Note: See TracBrowser for help on using the repository browser.

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