[Webkit-unassigned] [Bug 32452] Port of v8 to work with Gtk webkit

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Dec 11 15:16:25 PST 2009


https://bugs.webkit.org/show_bug.cgi?id=32452





--- Comment #3 from Michael Emmel <mike.emmel at gmail.com>  2009-12-11 15:16:25 PST ---
(In reply to comment #2)
> From a brief look, i don't understand
> 
> - v8::Signature::New
> + v8::Signature::V8New
> 
> In general, WebCore isn't supposed to muck around with stuff in the v8::
> namespace.  Why do we need to qualify this identifier if it's already properly
> scoped to V8?

Well I filed a bug here.

http://code.google.com/p/v8/issues/detail?id=448&can=1&q=gtk&colspec=ID%20Type%20Status%20Priority%20Owner%20Summary%20HW%20OS%20Area%20Stars

It was rejected.

The problem is it turns into a nightmare to include V8 with Gtk which
eventually includes X11 headers. One of the biggest issues is of course this.
There is no real way around outside of a perhaps a full refactoring of the gtk
port itself.

The problem of course is the C preprocessor trumps C++ namespaces.
I'd argue its wrong for the C preprocessor to do substitution inside a
name-space declaration but thats probably a even larger can of worms.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list