Changeset 91514 in vbox for trunk/src/VBox
- Timestamp:
- Oct 1, 2021 1:46:42 PM (3 years ago)
- Location:
- trunk/src/VBox/Main/src-server
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-server/HostVideoInputDeviceImpl.cpp
r91503 r91514 131 131 typedef FNVBOXHOSTWEBCAMLIST *PFNVBOXHOSTWEBCAMLIST; 132 132 133 #if RT_CLANG_PREREQ(11, 0) && !RT_CLANG_PREREQ(13, 0) /*assuming this issue will be fixed eventually*/ 133 134 /* 135 * Work around clang being unhappy about PFNVBOXHOSTWEBCAMLIST 136 * ("exception specifications are not allowed beyond a single level of 137 * indirection"). The original comment for 13.0 check said: "assuming 138 * this issue will be fixed eventually". Well, 13.0 is now out, and 139 * it was not. 140 */ 141 #define CLANG_EXCEPTION_SPEC_HACK (RT_CLANG_PREREQ(11, 0) /* && !RT_CLANG_PREREQ(13, 0) */) 142 143 #if CLANG_EXCEPTION_SPEC_HACK 134 144 static int loadHostWebcamLibrary(const char *pszPath, RTLDRMOD *phmod, void **ppfn) 135 145 #else … … 189 199 PFNVBOXHOSTWEBCAMLIST pfn = NULL; 190 200 RTLDRMOD hmod = NIL_RTLDRMOD; 191 #if RT_CLANG_PREREQ(11, 0) && !RT_CLANG_PREREQ(13, 0) /*assuming this issue will be fixed eventually*/201 #if CLANG_EXCEPTION_SPEC_HACK 192 202 int vrc = loadHostWebcamLibrary(strLibrary.c_str(), &hmod, (void **)&pfn); 193 203 #else -
trunk/src/VBox/Main/src-server/VRDEServerImpl.cpp
r91503 r91514 451 451 } 452 452 453 #if RT_CLANG_PREREQ(11, 0) && !RT_CLANG_PREREQ(13, 0) /*assuming this issue will be fixed eventually*/ 453 /* 454 * Work around clang being unhappy about PFNVRDESUPPORTEDPROPERTIES 455 * ("exception specifications are not allowed beyond a single level of 456 * indirection"). The original comment for 13.0 check said: "assuming 457 * this issue will be fixed eventually". Well, 13.0 is now out, and 458 * it was not. 459 */ 460 #define CLANG_EXCEPTION_SPEC_HACK (RT_CLANG_PREREQ(11, 0) /* && !RT_CLANG_PREREQ(13, 0) */) 461 462 #if CLANG_EXCEPTION_SPEC_HACK 454 463 static int loadVRDELibrary(const char *pszLibraryName, RTLDRMOD *phmod, void *ppfn) 455 464 #else … … 547 556 PFNVRDESUPPORTEDPROPERTIES pfn = NULL; 548 557 RTLDRMOD hmod = NIL_RTLDRMOD; 549 #if RT_CLANG_PREREQ(11, 0) && !RT_CLANG_PREREQ(13, 0) /*assuming this issue will be fixed eventually*/558 #if CLANG_EXCEPTION_SPEC_HACK 550 559 vrc = loadVRDELibrary(strVrdeLibrary.c_str(), &hmod, (void **)&pfn); 551 560 #else
Note:
See TracChangeset
for help on using the changeset viewer.