Bug 26707
| Summary: | [wx] nmake: cl: missing JSONObject.lut.h | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Ryan Jendoubi <ryan.jendoubi> |
| Component: | WebKit wx | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED INVALID | ||
| Severity: | Major | ||
| Priority: | P2 | ||
| Version: | 528+ (Nightly build) | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
Ryan Jendoubi
In the latest git package on Windows, nmake stops on:
NMAKE : fatal error U1073: don't know how to make '.\runtime\JSONObject.cpp'
This is solved by copying JSONObject.cpp and JSONObject.h from \WebCore\inspector to \JavaScriptCore\runtime
However, this leads on to another error:
.\runtime\JSONObject.cpp(51) : fatal error C1083: Cannot open include file: 'JSONObject.lut.h': No such file or directory
NMAKE : fatal error U1077: 'cl' : return code '0x2'
JSONObject.lut.h doesn't seem to be in *\DerivedSources\* or anywhere else in the git package or 'main' WebKit svn.
Below is the tail end of terminal output (full transcript is available if relevant):
cl /c /nologo /TP /Foobj-msvc\jscore_JSONObject.obj /MD /DWIN32 /IC:\cyg\home\doubi\wxWebKit\\WebKitLibraries\win\include\pthreads /DBUILDING_WX__=1 /DENABLE_DOM_STORAGE /DUSE_SYSTEM_MALLOC /Od /Zi /FdC:\cyg\home\doubi\wxWebKit\WE1674~1\Release\jscore.pdb /IC:\cyg\home\doubi\wxWebKit\\WebKitLibraries\win\include /I. /I.\.. /I.\API /I.\assembler /I.\bytecompiler /I.\DerivedSources\JavaScriptCore /I.\ForwardingHeaders /I.\debugger /I.\parser /I.\pcre /I.\profiler /I.\runtime /I.\interpreter /I.\bytecode /I.\wrec /I.\jit /I.\wtf /I.\wtf\unicode /DENABLE_XSLT=1 /I.\os-win32 /DHAVE_SYS_TIMEB_H=1 /DHAVE_FLOAT_H=1 /DHAVE_FUNC__FINITE=1 /D_UNICODE /D__WXMSW__ /IC:\wxWidgets-2.8.10\lib\vc_dll\mswu /IC:\wxWidgets-2.8.10\include /GR /EHsc -DBUILDING_WX__=1 -DWTF_USE_WXGC=1 .\runtime\JSONObject.cpp
JSONObject.cpp
c:\cyg\home\doubi\wxwebkit\javascriptcore\runtime\JSString.h(137) : warning C4291: 'void *JSC::JSCell::operator new(size_t,JSC::JSGlobalData *)' : no matching operator delete found; memory will not be freed if initialization throws an exception
c:\cyg\home\doubi\wxwebkit\javascriptcore\runtime\JSCell.h(84) : see declaration of 'JSC::JSCell::operator new'
c:\cyg\home\doubi\wxwebkit\javascriptcore\runtime\JSString.h(146) : warning C4291: 'void *JSC::JSCell::operator new(size_t,JSC::JSGlobalData *)' : no matching operator delete found; memory will not be freed if initialization throws an exception
c:\cyg\home\doubi\wxwebkit\javascriptcore\runtime\JSCell.h(84) : see declaration of 'JSC::JSCell::operator new'
c:\cyg\home\doubi\wxwebkit\javascriptcore\runtime\JSString.h(154) : warning C4291: 'void *JSC::JSCell::operator new(size_t,JSC::JSGlobalData *)' : no matching operator delete found; memory will not be freed if initialization throws an exception
c:\cyg\home\doubi\wxwebkit\javascriptcore\runtime\JSCell.h(84) : see declaration of 'JSC::JSCell::operator new'
c:\cyg\home\doubi\wxwebkit\javascriptcore\runtime\JSString.h(160) : warning C4291: 'void *JSC::JSCell::operator new(size_t,JSC::JSGlobalData *)' : no matching operator delete found; memory will not be freed if initialization throws an exception
c:\cyg\home\doubi\wxwebkit\javascriptcore\runtime\JSCell.h(84) : see declaration of 'JSC::JSCell::operator new'
.\runtime\JSONObject.cpp(51) : fatal error C1083: Cannot open include file: 'JSONObject.lut.h': No such file or directory
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Ryan Jendoubi
I created a new local git repo, grabbed the whole thing again, and it worked. I don't know why, since I had git-fetch'd the previous repo and had not been brought up to date, and there had been no new commits to the public repo in the time between the two repo grabs in any case.
Anyway, working with a new git download this problem doesn't show up. Apologies for time wasted.