[webkit-dev] Win32 Build Errors: JavaScriptCore/KJS/array_object.cpp
Justin Haygood
justin at xiondigital.net
Wed Jun 8 08:41:40 PDT 2005
Here is the entire output of the build, with all errors and warnings
returned by MSVC 8. Alot of them look alot like this. This is from the
Visual Studio 2005 Beta 2 DVD edition of MSVC, not the Express Editions
that some people have, so the full Platform SDK is available to build
against.
1>------ Build started: Project: JavaScriptCore, Configuration: Debug
Win32 ------
1>Compiling...
1>array_object.cpp
1>c:\documents and settings\justin haygood\my documents\visual studio
2005\projects\webkit-win32\javascriptcore\kjs\ustring.h(93) : warning
C4244: 'return' : conversion from 'const unsigned short' to 'unsigned
char', possible loss of data
1>c:\documents and settings\justin haygood\my documents\visual studio
2005\projects\webkit-win32\javascriptcore\kjs\ustring.h(150) : warning
C4244: 'return' : conversion from 'unsigned short' to 'unsigned char',
possible loss of data
1>c:\documents and settings\justin haygood\my documents\visual studio
2005\projects\webkit-win32\javascriptcore\kjs\simple_number.h(38) :
warning C4311: 'type cast' : pointer truncation from 'const
KJS::ValueImp *' to 'long'
1>c:\documents and settings\justin haygood\my documents\visual studio
2005\projects\webkit-win32\javascriptcore\kjs\simple_number.h(39) :
warning C4311: 'type cast' : pointer truncation from 'const
KJS::ValueImp *' to 'long'
1>c:\documents and settings\justin haygood\my documents\visual studio
2005\projects\webkit-win32\javascriptcore\kjs\simple_number.h(39) :
warning C4311: 'type cast' : pointer truncation from 'const
KJS::ValueImp *' to 'long'
1>c:\documents and settings\justin haygood\my documents\visual studio
2005\projects\webkit-win32\javascriptcore\kjs\simple_number.h(47) :
warning C4312: 'type cast' : conversion from 'long' to 'KJS::ValueImp *'
of greater size
1>c:\documents and settings\justin haygood\my documents\visual studio
2005\projects\webkit-win32\javascriptcore\kjs\value.h(455) : warning
C4800: 'long' : forcing value to bool 'true' or 'false' (performance
warning)
1>c:\documents and settings\justin haygood\my documents\visual studio
2005\projects\webkit-win32\javascriptcore\kjs\property_map.h(52) :
warning C4099: 'KJS::PropertyMapHashTableEntry' : type name first seen
using 'class' now seen using 'struct'
1> c:\documents and settings\justin haygood\my documents\visual
studio 2005\projects\webkit-win32\javascriptcore\kjs\ustring.h(206) :
see declaration of 'KJS::PropertyMapHashTableEntry'
1>c:\documents and settings\justin haygood\my documents\visual studio
2005\projects\webkit-win32\javascriptcore\kjs\object.h(66) : warning
C4099: 'KJS::ClassInfo' : type name first seen using 'class' now seen
using 'struct'
1> c:\documents and settings\justin haygood\my documents\visual
studio 2005\projects\webkit-win32\javascriptcore\kjs\value.h(68) : see
declaration of 'KJS::ClassInfo'
1>c:\documents and settings\justin haygood\my documents\visual studio
2005\projects\webkit-win32\javascriptcore\kjs\array_object.lut.h(5) :
warning C4099: 'KJS::HashEntry' : type name first seen using 'class' now
seen using 'struct'
1> c:\documents and settings\justin haygood\my documents\visual
studio 2005\projects\webkit-win32\javascriptcore\kjs\object.h(50) : see
declaration of 'KJS::HashEntry'
1>c:\documents and settings\justin haygood\my documents\visual studio
2005\projects\webkit-win32\javascriptcore\kjs\array_object.lut.h(6) :
error C2552: 'KJS::arrayTableEntries' : non-aggregates cannot be
initialized with initializer list
1> 'KJS::HashEntry' : Types with user defined constructors are
not aggregate
1>c:\documents and settings\justin haygood\my documents\visual studio
2005\projects\webkit-win32\javascriptcore\kjs\array_object.lut.h(6) :
error C2275: 'KJS::Function' : illegal use of this type as an expression
1> c:\documents and settings\justin haygood\my documents\visual
studio 2005\projects\webkit-win32\javascriptcore\kjs\function.h(38) :
see declaration of 'KJS::Function'
1>c:\documents and settings\justin haygood\my documents\visual studio
2005\projects\webkit-win32\javascriptcore\kjs\array_object.lut.h(7) :
error C2552: 'KJS::arrayTableEntries' : non-aggregates cannot be
initialized with initializer list
1> 'KJS::HashEntry' : Types with user defined constructors are
not aggregate
1>c:\documents and settings\justin haygood\my documents\visual studio
2005\projects\webkit-win32\javascriptcore\kjs\array_object.lut.h(7) :
error C2275: 'KJS::Function' : illegal use of this type as an expression
1> c:\documents and settings\justin haygood\my documents\visual
studio 2005\projects\webkit-win32\javascriptcore\kjs\function.h(38) :
see declaration of 'KJS::Function'
1>c:\documents and settings\justin haygood\my documents\visual studio
2005\projects\webkit-win32\javascriptcore\kjs\array_object.lut.h(8) :
error C2552: 'KJS::arrayTableEntries' : non-aggregates cannot be
initialized with initializer list
1> 'KJS::HashEntry' : Types with user defined constructors are
not aggregate
1>c:\documents and settings\justin haygood\my documents\visual studio
2005\projects\webkit-win32\javascriptcore\kjs\array_object.lut.h(8) :
error C2275: 'KJS::Function' : illegal use of this type as an expression
1> c:\documents and settings\justin haygood\my documents\visual
studio 2005\projects\webkit-win32\javascriptcore\kjs\function.h(38) :
see declaration of 'KJS::Function'
1>c:\documents and settings\justin haygood\my documents\visual studio
2005\projects\webkit-win32\javascriptcore\kjs\array_object.lut.h(9) :
error C2552: 'KJS::arrayTableEntries' : non-aggregates cannot be
initialized with initializer list
1> 'KJS::HashEntry' : Types with user defined constructors are
not aggregate
1>c:\documents and settings\justin haygood\my documents\visual studio
2005\projects\webkit-win32\javascriptcore\kjs\array_object.lut.h(9) :
error C2275: 'KJS::Function' : illegal use of this type as an expression
1> c:\documents and settings\justin haygood\my documents\visual
studio 2005\projects\webkit-win32\javascriptcore\kjs\function.h(38) :
see declaration of 'KJS::Function'
1>c:\documents and settings\justin haygood\my documents\visual studio
2005\projects\webkit-win32\javascriptcore\kjs\array_object.lut.h(9) :
error C2036: 'const KJS::HashEntry *' : unknown size
1>c:\documents and settings\justin haygood\my documents\visual studio
2005\projects\webkit-win32\javascriptcore\kjs\array_object.lut.h(10) :
error C2552: 'KJS::arrayTableEntries' : non-aggregates cannot be
initialized with initializer list
1> 'KJS::HashEntry' : Types with user defined constructors are
not aggregate
1>c:\documents and settings\justin haygood\my documents\visual studio
2005\projects\webkit-win32\javascriptcore\kjs\array_object.lut.h(11) :
error C2552: 'KJS::arrayTableEntries' : non-aggregates cannot be
initialized with initializer list
1> 'KJS::HashEntry' : Types with user defined constructors are
not aggregate
1>c:\documents and settings\justin haygood\my documents\visual studio
2005\projects\webkit-win32\javascriptcore\kjs\array_object.lut.h(12) :
error C2552: 'KJS::arrayTableEntries' : non-aggregates cannot be
initialized with initializer list
1> 'KJS::HashEntry' : Types with user defined constructors are
not aggregate
1>c:\documents and settings\justin haygood\my documents\visual studio
2005\projects\webkit-win32\javascriptcore\kjs\array_object.lut.h(12) :
error C2275: 'KJS::Function' : illegal use of this type as an expression
1> c:\documents and settings\justin haygood\my documents\visual
studio 2005\projects\webkit-win32\javascriptcore\kjs\function.h(38) :
see declaration of 'KJS::Function'
1>c:\documents and settings\justin haygood\my documents\visual studio
2005\projects\webkit-win32\javascriptcore\kjs\array_object.lut.h(13) :
error C2552: 'KJS::arrayTableEntries' : non-aggregates cannot be
initialized with initializer list
1> 'KJS::HashEntry' : Types with user defined constructors are
not aggregate
1>c:\documents and settings\justin haygood\my documents\visual studio
2005\projects\webkit-win32\javascriptcore\kjs\array_object.lut.h(13) :
error C2275: 'KJS::Function' : illegal use of this type as an expression
1> c:\documents and settings\justin haygood\my documents\visual
studio 2005\projects\webkit-win32\javascriptcore\kjs\function.h(38) :
see declaration of 'KJS::Function'
1>c:\documents and settings\justin haygood\my documents\visual studio
2005\projects\webkit-win32\javascriptcore\kjs\array_object.lut.h(14) :
error C2552: 'KJS::arrayTableEntries' : non-aggregates cannot be
initialized with initializer list
1> 'KJS::HashEntry' : Types with user defined constructors are
not aggregate
1>c:\documents and settings\justin haygood\my documents\visual studio
2005\projects\webkit-win32\javascriptcore\kjs\array_object.lut.h(14) :
error C2275: 'KJS::Function' : illegal use of this type as an expression
1> c:\documents and settings\justin haygood\my documents\visual
studio 2005\projects\webkit-win32\javascriptcore\kjs\function.h(38) :
see declaration of 'KJS::Function'
1>c:\documents and settings\justin haygood\my documents\visual studio
2005\projects\webkit-win32\javascriptcore\kjs\array_object.lut.h(14) :
error C2036: 'const KJS::HashEntry *' : unknown size
1>c:\documents and settings\justin haygood\my documents\visual studio
2005\projects\webkit-win32\javascriptcore\kjs\array_object.lut.h(15) :
error C2552: 'KJS::arrayTableEntries' : non-aggregates cannot be
initialized with initializer list
1> 'KJS::HashEntry' : Types with user defined constructors are
not aggregate
1>c:\documents and settings\justin haygood\my documents\visual studio
2005\projects\webkit-win32\javascriptcore\kjs\array_object.lut.h(15) :
error C2275: 'KJS::Function' : illegal use of this type as an expression
1> c:\documents and settings\justin haygood\my documents\visual
studio 2005\projects\webkit-win32\javascriptcore\kjs\function.h(38) :
see declaration of 'KJS::Function'
1>c:\documents and settings\justin haygood\my documents\visual studio
2005\projects\webkit-win32\javascriptcore\kjs\array_object.lut.h(16) :
error C2552: 'KJS::arrayTableEntries' : non-aggregates cannot be
initialized with initializer list
1> 'KJS::HashEntry' : Types with user defined constructors are
not aggregate
1>c:\documents and settings\justin haygood\my documents\visual studio
2005\projects\webkit-win32\javascriptcore\kjs\array_object.lut.h(16) :
error C2275: 'KJS::Function' : illegal use of this type as an expression
1> c:\documents and settings\justin haygood\my documents\visual
studio 2005\projects\webkit-win32\javascriptcore\kjs\function.h(38) :
see declaration of 'KJS::Function'
1>c:\documents and settings\justin haygood\my documents\visual studio
2005\projects\webkit-win32\javascriptcore\kjs\array_object.lut.h(16) :
error C2036: 'const KJS::HashEntry *' : unknown size
1>c:\documents and settings\justin haygood\my documents\visual studio
2005\projects\webkit-win32\javascriptcore\kjs\array_object.lut.h(17) :
error C2552: 'KJS::arrayTableEntries' : non-aggregates cannot be
initialized with initializer list
1> 'KJS::HashEntry' : Types with user defined constructors are
not aggregate
1>c:\documents and settings\justin haygood\my documents\visual studio
2005\projects\webkit-win32\javascriptcore\kjs\array_object.lut.h(18) :
error C2552: 'KJS::arrayTableEntries' : non-aggregates cannot be
initialized with initializer list
1> 'KJS::HashEntry' : Types with user defined constructors are
not aggregate
1>c:\documents and settings\justin haygood\my documents\visual studio
2005\projects\webkit-win32\javascriptcore\kjs\array_object.lut.h(19) :
error C2552: 'KJS::arrayTableEntries' : non-aggregates cannot be
initialized with initializer list
1> 'KJS::HashEntry' : Types with user defined constructors are
not aggregate
1>c:\documents and settings\justin haygood\my documents\visual studio
2005\projects\webkit-win32\javascriptcore\kjs\array_object.lut.h(19) :
error C2275: 'KJS::Function' : illegal use of this type as an expression
1> c:\documents and settings\justin haygood\my documents\visual
studio 2005\projects\webkit-win32\javascriptcore\kjs\function.h(38) :
see declaration of 'KJS::Function'
1>c:\documents and settings\justin haygood\my documents\visual studio
2005\projects\webkit-win32\javascriptcore\kjs\array_object.lut.h(20) :
error C2552: 'KJS::arrayTableEntries' : non-aggregates cannot be
initialized with initializer list
1> 'KJS::HashEntry' : Types with user defined constructors are
not aggregate
1>c:\documents and settings\justin haygood\my documents\visual studio
2005\projects\webkit-win32\javascriptcore\kjs\array_object.lut.h(20) :
error C2275: 'KJS::Function' : illegal use of this type as an expression
1> c:\documents and settings\justin haygood\my documents\visual
studio 2005\projects\webkit-win32\javascriptcore\kjs\function.h(38) :
see declaration of 'KJS::Function'
1>c:\documents and settings\justin haygood\my documents\visual studio
2005\projects\webkit-win32\javascriptcore\kjs\array_object.lut.h(21) :
error C2552: 'KJS::arrayTableEntries' : non-aggregates cannot be
initialized with initializer list
1> 'KJS::HashEntry' : Types with user defined constructors are
not aggregate
1>c:\documents and settings\justin haygood\my documents\visual studio
2005\projects\webkit-win32\javascriptcore\kjs\array_object.lut.h(21) :
error C2275: 'KJS::Function' : illegal use of this type as an expression
1> c:\documents and settings\justin haygood\my documents\visual
studio 2005\projects\webkit-win32\javascriptcore\kjs\function.h(38) :
see declaration of 'KJS::Function'
1>c:\documents and settings\justin haygood\my documents\visual studio
2005\projects\webkit-win32\javascriptcore\kjs\array_object.lut.h(24) :
warning C4099: 'KJS::HashTable' : type name first seen using 'class' now
seen using 'struct'
1> c:\documents and settings\justin haygood\my documents\visual
studio 2005\projects\webkit-win32\javascriptcore\kjs\object.h(49) : see
declaration of 'KJS::HashTable'
1>c:\documents and settings\justin haygood\my documents\visual studio
2005\projects\webkit-win32\javascriptcore\kjs\array_object.lut.h(24) :
error C2079: 'arrayTable' uses undefined class 'KJS::HashTable'
1>c:\documents and settings\justin haygood\my documents\visual studio
2005\projects\webkit-win32\javascriptcore\kjs\array_object.lut.h(24) :
error C2078: too many initializers
1>c:\documents and settings\justin haygood\my documents\visual studio
2005\projects\webkit-win32\javascriptcore\kjs\lookup.h(35) : warning
C4099: 'KJS::HashEntry' : type name first seen using 'class' now seen
using 'struct'
1> c:\documents and settings\justin haygood\my documents\visual
studio 2005\projects\webkit-win32\javascriptcore\kjs\object.h(50) : see
declaration of 'KJS::HashEntry'
1>c:\documents and settings\justin haygood\my documents\visual studio
2005\projects\webkit-win32\javascriptcore\kjs\lookup.h(70) : warning
C4099: 'KJS::HashTable' : type name first seen using 'class' now seen
using 'struct'
1> c:\documents and settings\justin haygood\my documents\visual
studio 2005\projects\webkit-win32\javascriptcore\kjs\object.h(49) : see
declaration of 'KJS::HashTable'
1>c:\documents and settings\justin haygood\my documents\visual studio
2005\projects\webkit-win32\javascriptcore\kjs\array_object.cpp(392) :
error C2440: 'initializing' : cannot convert from 'int *__w64 ' to
'const KJS::HashTable *'
1> Types pointed to are unrelated; conversion requires
reinterpret_cast, C-style cast or function-style cast
1>c:\documents and settings\justin haygood\my documents\visual studio
2005\projects\webkit-win32\javascriptcore\kjs\array_object.cpp(424) :
error C2664: 'KJS::lookupGetFunction' : cannot convert parameter 3 from
'int *__w64 ' to 'const KJS::HashTable *'
1> Types pointed to are unrelated; conversion requires
reinterpret_cast, C-style cast or function-style cast
1>Build log was saved at "file://c:\Documents and Settings\Justin
Haygood\My Documents\Visual Studio
2005\Projects\WebKit-Win32\JavaScriptCore\Debug\BuildLog.htm"
1>JavaScriptCore - 35 error(s), 13 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
More information about the webkit-dev
mailing list