You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by "David Bertoni (JIRA)" <xa...@xml.apache.org> on 2008/12/03 06:10:44 UTC

[jira] Resolved: (XALANC-686) Compile error with XalanDequeIterator with stlport 5.1.5 with stlport_debug , or Visual C++ 9 for secure SCL

     [ https://issues.apache.org/jira/browse/XALANC-686?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

David Bertoni resolved XALANC-686.
----------------------------------

       Resolution: Duplicate
    Fix Version/s: CurrentCVS

> Compile error with XalanDequeIterator with stlport 5.1.5 with stlport_debug , or Visual C++ 9 for secure SCL
> ------------------------------------------------------------------------------------------------------------
>
>                 Key: XALANC-686
>                 URL: https://issues.apache.org/jira/browse/XALANC-686
>             Project: XalanC
>          Issue Type: Bug
>          Components: XalanC
>    Affects Versions: 1.10
>         Environment: stlport 5.1.5 with stlport_debug , or Visual C++ 9 for secure SCL
>            Reporter: Malcolm Davey
>             Fix For: CurrentCVS
>
>
> There is a compile error with the XalanDequeIterator class with some of the std algorithms, which make use of the < operator to check the range.
> Also for a random_access_itetator this member is meant to be supplied to be a std container.
> To fix make the change
> <XalanDeque.hpp>
> struct  XalanDequeIterator
> {
> ....
>     // Add the following to fix
>     bool operator<(const XalanDequeIterator & theRhs) const
>     {
>         return m_pos < theRhs.m_pos;
>     }

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-dev-help@xml.apache.org