#1621 closed defect (worksforme)
Windows Build Fails on USBControllerImpl.cpp (line 326)
Reported by: | gcstang | Owned by: | |
---|---|---|---|
Component: | other | Version: | VirtualBox 1.6.0 |
Keywords: | Cc: | ||
Guest type: | other | Host type: | other |
Description
I commented out this line and the build completes successfully, however is there a different way to handle this?
USBControllerImpl.cpp (326) to remove ISupportErrorInfo from the COM map
Output :
kBuild: Compiling VBoxSVC -
D:/SVNRepositories/vbox/src/VBox/Main/AudioAdapterImpl.cpp
AudioAdapterImpl.cpp
D:\SVNRepositories\vbox\src\VBox\Main\USBControllerImplcpp(326)
: error C2440:
'static_cast' : cannot convert from 'USBDeviceFilter::_ComMapClass *'
to 'ISupportErrorInfo *'
Types pointed to are unrelated; conversion requires reinterpret_cast,
C-style cast or function-style cast
D:\SVNRepositories\vbox\src\VBox\Main\USBControllerImplcpp(326) : error C2440:
'initializing' : can
not convert from 'ATL::_ATL_CREATORARGFUNC (stdcall *)' to 'DWORD_PTR'
There is no context in which this conversion is possible
kmk.exe[3]: *
[D:/SVNRepositories/vbox/out/win.x86/release/obj/src/VBox/Main/VBoxSVC/USBController
Impl.obj] Error 2
The failing command:
<at> D:/MICROS~1/VC/bin/cl.exe -c -TP -c -nologo -O2 -Zi -Zl -GR -GF- -MD
-EHsc -W3 -wd4065 -wd
4996 -Zc:wchar_t- -O2 -GS- -Oy-
-ID:/SVNRepositories/vbox/out/win.x86/release/obj/src/VBox/Main/VBox
COM -ID:/SVNRepositories/vbox/src/VBox/Main/include
-ID:/SVNRepositories/vbox/out/win.x86/release/ob
j/src/VBox/Main/VBoxSVC -ID:/SVNRepositories/vbox/src/VBox/Main
-ID:/SVNRepositories/vbox/out/win.x8
6/release/obj/src/VBox/Main
-ID:/SVNRepositories/vbox/out/win.x86/release/bin/sdk/include -ID:/MICRO
S~1/VC/atlmfc/include -ID:/MICROS~2/Include -ID:/WINDDK/3790~1.183/inc/ddk
-ID:/WINDDK/3790~1.183/in
c/ddk/wnet -ID:/WINDDK/3790~1.183/inc/wnet
-ID:/WINDDK/3790~1.183/inc/ddk/wdm/wnet -ID:/SVNRepositor
ies/vbox/include -ID:/SVNRepositories/vbox/out/win.x86/release
-ID:/MICROS~1/VC/include -ID:/MICROS~
1/VC/atlmfc/include -DVBOX -DVBOX_OSE -DRT_OS_WINDOWS -DWIN -DRT_ARCH_X86
-DX86 -DWIN32
-D_X86_ -DIN_RING3 -DUNICODE -DNDEBUG=1 -DVBOX_MAIN_SETTINGS_ADDONS -DVBOX_HGCM
-DVBOX_WITH_ALSA -DV
BOX_WITH_PULSE -D_UNICODE -DVBOX_COM_OUTOFPROC_MODULE -D_WIN32_WINNT=0x0500
-FdD:/SVNRepositories/vb
ox/out/win.x86/release/obj/src/VBox/Main/VBoxSVC/USBControllerImpl-obj.pdb -FD
-FoD:/SVNRepositories
/vbox/out/win.x86/release/obj/src/VBox/Main/VBoxSVC/USBControllerImpl.obj
D:\SVNRepositories\vbox\
\src\VBox\Main\USBControllerImpl.cpp
kmk.exe[3]: * Waiting for unfinished jobs....
kmk.exe[3]: Leaving directory `D:/SVNRepositories/vbox/src/VBox/Main'
kmk.exe[2]: * [pass_binaries_before] Error 2
kmk.exe[2]: Leaving directory `D:/SVNRepositories/vbox/src/VBox'
kmk.exe[1]: * [pass_binaries_before] Error 2
kmk.exe[1]: Leaving directory `D:/SVNRepositories/vbox/src'
kmk: * [pass_binaries_before] Error 2
Please don't open bug reports for such problems, go to the mailing list instead. If the same problem still happens with 1.6.2 for you then report this problem to the mailing list.