Ticket #1621 (closed defect: worksforme)

Opened 10 years ago

Last modified 10 years ago

Windows Build Fails on USBControllerImpl.cpp (line 326)

Reported by: gcstang Owned by:
Priority: major Component: other
Version: VirtualBox 1.6.0 Keywords:
Cc: Guest type: other
Host type: other


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 -




: 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]: *


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-


COM -ID:/SVNRepositories/vbox/src/VBox/Main/include


j/src/VBox/Main/VBoxSVC -ID:/SVNRepositories/vbox/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


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~


-DX86 -DWIN32





ox/out/win.x86/release/obj/src/VBox/Main/VBoxSVC/USBControllerImpl-obj.pdb -FD





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

Change History

comment:1 Changed 10 years ago by frank

  • Status changed from new to closed
  • Resolution set to worksforme

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.

comment:2 Changed 10 years ago by frank

Fixed again for 1.6.6.

Note: See TracTickets for help on using tickets.
ContactPrivacy policyTerms of Use