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

Frank Mehnert frank.mehnert at oracle.com
Tue Sep 14 00:21:19 PDT 2010


On Friday 27 August 2010, Huihong Luo wrote:
> 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'

This is a compile-time assertion. I assume this is no longer an issue
with current HEAD.

Kind regards,

Frank
-- 
ORACLE Deutschland B.V. & Co. KG   Dr.-Ing. Frank Mehnert
Werkstrasse 24                     Staff Engineer, VirtualBox
71384 Weinstadt, Germany           mailto:frank.mehnert at oracle.com

Hauptverwaltung: Riesstr. 25, D-80992 München
Registergericht: Amtsgericht München, HRA 95603

Komplementärin: ORACLE Deutschland Verwaltung B.V.
Rijnzathe 6, 3454PV De Meern, Niederlande
Handelsregister der Handelskammer Midden-Niederlande, Nr. 30143697
Geschäftsführer: Jürgen Kunz, Marcel van de Molen, Alexander van der Ven
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
Url : http://www.virtualbox.org/pipermail/vbox-dev/attachments/20100914/5fad899d/attachment-0001.bin 


More information about the vbox-dev mailing list