[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 18:38:27 PST 2009


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





--- Comment #13 from Michael Emmel <mike.emmel at gmail.com>  2009-12-11 18:38:27 PST ---

I thought of one more thing to add.

In C++ generally you don't import dependencies in header files instead you use
class declaration and import the correct header in the source while in C its
the opposite and you have the big header graph. This difference between the
languages is what makes simple undef solutions very hard to implement esp given
the best place to put the undef would be in a system header which is not
viable.

Heck if you prefix with V8 then the using shortcut in C++ works 99% of the time
and its v8:: vs V8 two less chars to type and if you look I toggle using the
predefines its optional so you don't have to use the prefixes only when you hit
the situation I hit and had to resort to prefix's.

I'm by no means happy with what I had to do its just when you mix C/C++
sometimes the situation is not pretty.

-- 
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