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

Huihong Luo huisinro at yahoo.com
Tue Sep 14 20:16:27 GMT 2010


yes, fixed in recent SVNs. Thx

--- On Tue, 9/14/10, Frank Mehnert <frank.mehnert at oracle.com> wrote:


From: Frank Mehnert <frank.mehnert at oracle.com>
Subject: Re: [vbox-dev] a new build error: cannot allocate an array of constant size 0
To: vbox-dev at virtualbox.org
Date: Tuesday, September 14, 2010, 12:21 AM


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

-----Inline Attachment Follows-----


_______________________________________________
vbox-dev mailing list
vbox-dev at virtualbox.org
http://vbox.innotek.de/mailman/listinfo/vbox-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.virtualbox.org/pipermail/vbox-dev/attachments/20100914/ea46c121/attachment.html>


More information about the vbox-dev mailing list