[Webkit-unassigned] [Bug 15729] MSVC7 compilation errors with appending to a Vector of Nodes

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Oct 28 00:01:28 PDT 2007


------- Comment #1 from kevino at theolliviers.com  2007-10-28 00:01 PDT -------
MSVC7 error message when trying to compile JavaScriptCore/kjs/nodes.cpp. Note
that we'll get this error even if there isn't a difference in the const-ness
between the variables. In general, it seems it doesn't allow down-casting, or
at least of Node-based subclasses.

wtf\Vector.h(668) : error C2440: 'initializing' : cannot convert from
'KJS::VarDeclListNode *const ' to 'KJS::Node *'
        kjs\nodes.cpp(1698) : see reference to function template instantiation
void WTF::Vector<T,inlineCapacity>::append<KJS::VarDeclListNode*>(const U & )'
being compiled
            T=KJS::Node *,
            U=KJS::VarDeclListNode *
wtf\Vector.h(668) : fatal error C1903: unable to recover from previous
error(s); stopping compilation
NMAKE : fatal error U1077: 'cl' : return code '0x2'

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

More information about the webkit-unassigned mailing list