[Webkit-unassigned] [Bug 24932] WebKit compilation support in Solaris 10 with Sun Studio 12 (CC 5.9)

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jul 28 08:06:49 PDT 2009


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





--- Comment #24 from Thiago Macieira <thiago.macieira at nokia.com>  2009-07-28 08:06:49 PDT ---
Created an attachment (id=33637)
 --> (https://bugs.webkit.org/attachment.cgi?id=33637)
[PATCH 06/17] Fix linking with SunCC 5.9: de-inline the operator new and delete
in ParserArenaDeletable.

If you mark functions as "inline", the compiler doesn't have to emit
out-of-line copies. What happens is that Nodes.h declares these
functions, but the inline bodies are in NodeConstructors.h.

ParserArena.cpp used these functions, but didn't include
NodeConstructor.h. I could have added the missing #include, but this
is error-prone, since you have to remember to do that.

Moving the bodies into Nodes.h was also not possible, because it
requires JSC::Parser to be defined and Parser.h needs to #include
"Nodes.h".

So the solution is to de-inline.

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