kjs: compile bug under msvc 7.1

Jarosław Staniek js at iidea.pl
Wed Jul 11 14:37:23 CEST 2007


Hello,
Under msvc 7.1 I've got error [1] in this line (kdelibs/kjs/wtf/Vector.h:552):

  new (end()) T(*ptr);

I am looking for sane workaround...


[1]
---
E:\kde4\trunk\KDE\kdelibs\kjs\wtf\Vector.h(552) : error C2440: 'initializing' 
: cannot convert from 'KJS::StatementNode
*const ' to 'KJS::Node *'
         E:\kde4\trunk\KDE\kdelibs\kjs\semantic_checker.cpp(83) : see 
reference to function template instantiation 'void
WTF::Vector<T>::append<KJS::StatementNode*>(const U & )' being compiled
         with
         [
             T=KJS::Node *,
             U=KJS::StatementNode *
         ]
---

-- 
regards / pozdrawiam, Jaroslaw Staniek
  Sponsored by OpenOffice Polska (http://www.openoffice.com.pl/en) to work on
  Kexi & KOffice: http://www.kexi.pl/en, http://www.koffice.org
  KDE3 & KDE4 Libraries for MS Windows: http://kdelibs.com, http://www.kde.org



More information about the Kde-windows mailing list