[vbox-dev] a new build error: cannot allocate an array of constant size 0

Huihong Luo huisinro at yahoo.com
Fri Aug 27 15:01:42 GMT 2010


C:\virtualbox-dev\vbox-latest\src\VBox\VMM\CPUM.cpp(135) : error C2466: cannot allocate an array of constant size 0
C:\virtualbox-dev\vbox-latest\src\VBox\VMM\CPUM.cpp(135) : error C2086: 'int RTASSERTTYPE[1]' : redefinition
        C:\virtualbox-dev\vbox-latest\src\VBox\VMM\CPUM.cpp(128) : see declaration of 'RTASSERTTYPE'
kmk.exe[2]: *** [C:/virtualbox-dev/vbox-latest/out/win.x86/release/obj/VMMR3/CPUM.obj] Error 2
The failing command:
@ C:/PROGRA~1/MICROS~2/VC/bin/cl.exe -c -TP -c -nologo -O2 -Zi -Zl -GR- -EHsc -GF -MD -W3 -wd4065 -wd4244 -wd4996 -Zc:wc
har_t- -O2 -GS- -Oy- -WX -IC:/virtualbox-dev/vbox-latest/src/VBox/VMM -IC:/virtualbox-dev/vbox-latest/src/VBox/VMM/PATM
-IC:/PROGRA~1/MIC977~1/Include -IC:/virtualbox-dev/vbox-latest/include -IC:/virtualbox-dev/vbox-latest/out/win.x86/relea
se -IC:/PROGRA~1/MICROS~2/VC/include -IC:/PROGRA~1/MICROS~2/VC/atlmfc/include -DVBOX -DVBOX_WITH_DEBUGGER -DVBOX_OSE -DV
BOX_WITH_64_BITS_GUESTS -DRT_OS_WINDOWS -D__WIN__ -DRT_ARCH_X86 -D__X86__ -D__WIN32__ -DIN_RING3 -DHC_ARCH_BITS=32 -DGC_
ARCH_BITS=64 -DIN_VMM_R3 -DIN_DIS -DIN_GMM_R3 -DIN_DBG -DVBOX_WITH_RAW_MODE -DVBOX_WITH_MULTI_CORE -DVBOX_WITH_USB -DVBO
X_WITH_PDM_ASYNC_COMPLETION -FdC:/virtualbox-dev/vbox-latest/out/win.x86/release/obj/VMMR3/CPUM-obj.pdb -FD -FoC:/virtua
lbox-dev/vbox-latest/out/win.x86/release/obj/VMMR3/CPUM.obj C:\\virtualbox-dev\\vbox-latest\\src\\VBox\\VMM\\CPUM.cpp
kmk.exe[2]: *** [C:/virtualbox-dev/vbox-latest/out/win.x86/release/obj/VMMR3/CPUM.obj] Deleting file `C:/virtualbox-dev/
vbox-latest/out/win.x86/release/obj/VMMR3/cpum-obj.idb'
kmk.exe[2]: *** Waiting for unfinished jobs....
kmk.exe[2]: Leaving directory `C:/virtualbox-dev/vbox-latest'
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.virtualbox.org/pipermail/vbox-dev/attachments/20100827/37e0275b/attachment.html>


More information about the vbox-dev mailing list