Bug 38817 - JSDOMWindowShell.h does not compile
Summary: JSDOMWindowShell.h does not compile
Status: RESOLVED CONFIGURATION CHANGED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC Linux
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-09 11:42 PDT by marinalan
Modified: 2023-02-03 20:12 PST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description marinalan 2010-05-09 11:42:21 PDT
I am on Fedora12. I did 
svn update
./autogen.sh --enable-web-sockets --enable-geolocation --enable-3D-transforms --enable-filters --enable-introspection

and get such errors:
--------------------------------------------------------

[marina@marina-home WebKit]$ make
  GEN    DerivedSources/webkitenumtypes.cpp
  GEN    stamp-webkitdomenumtypes.h
  GEN    DerivedSources/webkitdomenumtypes.cpp
  GEN    stamp-webkitenumtypes.h
(CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh /home/marina/src/WebKit/autotools/missing --run autoheader)
rm -f stamp-h1
touch autotoolsconfig.h.in
cd . && /bin/sh ./config.status autotoolsconfig.h
config.status: creating autotoolsconfig.h
config.status: autotoolsconfig.h is unchanged
make  all-am
make[1]: Entering directory `/home/marina/src/WebKit'
/usr/bin/msgmerge --update es.po webkit.pot
........................... done.
/usr/bin/msgmerge --update pt_BR.po webkit.pot
........................... done.
/bin/mkdir -p ./.deps/DerivedSources
  CXX    WebCore/accessibility/libwebkit_1_0_la-AXObjectCache.lo
In file included from ./WebCore/bindings/js/ScriptController.h:25,
                 from ./WebCore/page/Frame.h:37,
                 from WebCore/accessibility/AXObjectCache.cpp:53:
./WebCore/bindings/js/JSDOMWindowShell.h:32:25: error: JSDOMWindow.h: No such file or directory
In file included from ./WebCore/bindings/js/ScriptController.h:25,
                 from ./WebCore/page/Frame.h:37,
                 from WebCore/accessibility/AXObjectCache.cpp:53:
./WebCore/bindings/js/JSDOMWindowShell.h:46: error: ISO C++ forbids declaration of ‘JSDOMWindow’ with no type
./WebCore/bindings/js/JSDOMWindowShell.h:46: error: expected ‘;’ before ‘*’ token
./WebCore/bindings/js/JSDOMWindowShell.h:47: error: expected ‘;’ before ‘void’
./WebCore/bindings/js/JSDOMWindowShell.h:47: error: ‘JSDOMWindow’ has not been declared
In file included from ./WebCore/bindings/js/ScriptController.h:25,
                 from ./WebCore/page/Frame.h:37,
                 from WebCore/accessibility/AXObjectCache.cpp:53:
./WebCore/bindings/js/JSDOMWindowShell.h:88: error: ISO C++ forbids declaration of ‘JSDOMWindow’ with no type
./WebCore/bindings/js/JSDOMWindowShell.h:88: error: expected ‘;’ before ‘*’ token
In file included from ./WebCore/bindings/js/ScriptController.h:25,
                 from ./WebCore/page/Frame.h:37,
                 from WebCore/accessibility/AXObjectCache.cpp:53:
./WebCore/bindings/js/JSDOMWindowShell.h: In member function ‘void WebCore::JSDOMWindowShell::setWindow(int*)’:
./WebCore/bindings/js/JSDOMWindowShell.h:50: error: ‘m_window’ was not declared in this scope
./WebCore/bindings/js/JSDOMWindowShell.h:51: error: request for member ‘prototype’ in ‘* window’, which is of non-class type ‘int’
In file included from ./WebCore/page/Frame.h:37,
                 from WebCore/accessibility/AXObjectCache.cpp:53:
./WebCore/bindings/js/ScriptController.h: At global scope:
./WebCore/bindings/js/ScriptController.h:93: error: ISO C++ forbids declaration of ‘JSDOMWindow’ with no type
./WebCore/bindings/js/ScriptController.h:93: error: expected ‘;’ before ‘*’ token
./WebCore/bindings/js/ScriptController.h:98: error: expected ‘;’ before ‘static’
make[1]: *** [WebCore/accessibility/libwebkit_1_0_la-AXObjectCache.lo] Error 1
make[1]: Leaving directory `/home/marina/src/WebKit'
make: *** [all] Error 2
Comment 1 marinalan 2010-05-09 11:43:39 PDT
svn update
./autogen.sh --enable-web-sockets --enable-geolocation --enable-3D-transforms --enable-filters --enable-introspection
make

Output above is from "make"
Comment 2 Ahmad Saleem 2023-02-03 18:03:19 PST
This got renamed in following commit:

https://github.com/WebKit/WebKit/commit/a121b530e21947253179ce364ee8e95327546de7

and again here:

https://github.com/WebKit/WebKit/commit/68155d2924c254ea16409215d0abc8552428d023

and now this works on Linux bots - JSWindowProxy.h etc.

I think we can close this now. Tagging others to confirm. Thanks!