[Webkit-unassigned] [Bug 10765] New: Windows build busted due to std::copy usage in Vector.h

bugzilla-daemon at opendarwin.org bugzilla-daemon at opendarwin.org
Thu Sep 7 01:25:49 PDT 2006


http://bugzilla.opendarwin.org/show_bug.cgi?id=10765

           Summary: Windows build busted due to std::copy usage in Vector.h
           Product: WebKit
           Version: 420+ (nightly)
          Platform: PC
        OS/Version: Windows XP
            Status: UNCONFIRMED
          Severity: major
          Priority: P2
         Component: Platform
        AssignedTo: webkit-unassigned at opendarwin.org
        ReportedBy: morlmor at yahoo.com


Windows build busted due to std::copy usage in Vector.h

Here are the build errors in all their glory:

C:\Program Files\Microsoft Visual Studio 8\VC\include\xutility(2282) : error
C2220: warning treated as error - no 'object' file generated
C:\Program Files\Microsoft Visual Studio 8\VC\include\xutility(2282) : warning
C4996: 'std::_Copy_opt' was declared deprecated
        C:\Program Files\Microsoft Visual Studio 8\VC\include\xutility(2270) :
see declaration of 'std::_Copy_opt'
        Message: 'You have used a std:: construct that is not safe. See
documentation on how to use the Safe Standard C++ Library'
        c:\builds\WebKit\JavaScriptCore\wtf/Vector.h(447) : see reference to
function template instantiation '_OutIt std::copy<const
WebCore::StyleDashboardRegion*,WebCore::StyleDashboardRegion*>(_InIt,_InIt,_OutIt)'
being compiled
        with
        [
            _OutIt=WebCore::StyleDashboardRegion *,
            _InIt=const WebCore::StyleDashboardRegion *
        ]
        c:\builds\WebKit\JavaScriptCore\wtf/Vector.h(436) : while compiling
class template member function 'WTF::Vector<T> &WTF::Vector<T>::operator
=(const WTF::Vector<T> &)'
        with
        [
            T=WebCore::StyleDashboardRegion
        ]
        c:\builds\webkit\webcore\rendering\RenderStyle.h(737) : see reference
to class template instantiation 'WTF::Vector<T>' being compiled
        with
        [
            T=WebCore::StyleDashboardRegion
        ]
WebFrame.cpp
C:\Program Files\Microsoft Visual Studio 8\VC\include\xutility(2282) : error
C2220: warning treated as error - no 'object' file generated
C:\Program Files\Microsoft Visual Studio 8\VC\include\xutility(2282) : warning
C4996: 'std::_Copy_opt' was declared deprecated
        C:\Program Files\Microsoft Visual Studio 8\VC\include\xutility(2270) :
see declaration of 'std::_Copy_opt'
        Message: 'You have used a std:: construct that is not safe. See
documentation on how to use the Safe Standard C++ Library'
        c:\builds\WebKit\JavaScriptCore\wtf/Vector.h(447) : see reference to
function template instantiation '_OutIt std::copy<const
WebCore::StyleDashboardRegion*,WebCore::StyleDashboardRegion*>(_InIt,_InIt,_OutIt)'
being compiled
        with
        [
            _OutIt=WebCore::StyleDashboardRegion *,
            _InIt=const WebCore::StyleDashboardRegion *
        ]
        c:\builds\WebKit\JavaScriptCore\wtf/Vector.h(436) : while compiling
class template member function 'WTF::Vector<T> &WTF::Vector<T>::operator
=(const WTF::Vector<T> &)'
        with
        [
            T=WebCore::StyleDashboardRegion
        ]
        c:\builds\webkit\webcore\rendering\RenderStyle.h(737) : see reference
to class template instantiation 'WTF::Vector<T>' being compiled
        with
        [
            T=WebCore::StyleDashboardRegion
        ]
WebView.cpp
C:\Program Files\Microsoft Visual Studio 8\VC\include\xutility(2282) : error
C2220: warning treated as error - no 'object' file generated
C:\Program Files\Microsoft Visual Studio 8\VC\include\xutility(2282) : warning
C4996: 'std::_Copy_opt' was declared deprecated
        C:\Program Files\Microsoft Visual Studio 8\VC\include\xutility(2270) :
see declaration of 'std::_Copy_opt'
        Message: 'You have used a std:: construct that is not safe. See
documentation on how to use the Safe Standard C++ Library'
        c:\builds\WebKit\JavaScriptCore\wtf/Vector.h(447) : see reference to
function template instantiation '_OutIt std::copy<const
WebCore::StyleDashboardRegion*,WebCore::StyleDashboardRegion*>(_InIt,_InIt,_OutIt)'
being compiled
        with
        [
            _OutIt=WebCore::StyleDashboardRegion *,
            _InIt=const WebCore::StyleDashboardRegion *
        ]
        c:\builds\WebKit\JavaScriptCore\wtf/Vector.h(436) : while compiling
class template member function 'WTF::Vector<T> &WTF::Vector<T>::operator
=(const WTF::Vector<T> &)'
        with
        [
            T=WebCore::StyleDashboardRegion
        ]
        c:\builds\webkit\webcore\rendering\RenderStyle.h(737) : see reference
to class template instantiation 'WTF::Vector<T>' being compiled
        with
        [
            T=WebCore::StyleDashboardRegion
        ]


-- 
Configure bugmail: http://bugzilla.opendarwin.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