You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by "Rakshit Simha (JIRA)" <xa...@xml.apache.org> on 2005/09/22 19:25:27 UTC

[jira] Created: (XALANC-563) Xalan 1.8.0 needs source change to build with STLPort and MSVC++

Xalan 1.8.0 needs source change to build with STLPort and MSVC++
----------------------------------------------------------------

         Key: XALANC-563
         URL: http://issues.apache.org/jira/browse/XALANC-563
     Project: XalanC
        Type: Improvement
  Components: XalanC  
    Versions: 1.9    
 Environment: OS: Win2K (Version 5.0 Build 2195: Service Pack 4)
Compiler: Microsoft Visual C++ (32-bit C/C++ Optimizing Compiler Version 12.00.8804 for 80x86) with SP5
Xerces: 2.6.0
XalanC: 1.9.0
STLPort: 4.5.3
    Reporter: Rakshit Simha
    Priority: Blocker


Building the AllInOne project with STLPort includes and libs (set using Tools->Options->Directories in VC++ GUI), many instances of this error appear:

---begin-error---
L:\bldenv-nt-v19\INCLUDE\STLPORT\stl/_algobase.h(210) : error C2784: 'struct _STL::input_iterator_tag __cdecl _STL::iterator_category(const class _STL::istream_iterator<_Tp,_CharT,_Traits,_Dist> &)' : could not deduce template argument for 'const class _STL::istream_iterator<_Tp,_CharT,_Traits,_Dist> &' from 'struct xalanc_1_9::XalanDequeIterator<struct xalanc_1_9::XalanDequeConstIteratorTraits<class xalanc_1_9::NameSpace>,class xalanc_1_9::XalanDeque<class xalanc_1_9::NameSpace,struct xalanc_1_9::ConstructWithMemoryManagerTraits<class xalanc_1_9::NameSpace> > >'
 
        L:\bldenv-nt-v19\INCLUDE\STLPORT\stl/_algobase.h(216) : see reference to function template instantiation 'class _STL::back_insert_iterator<class xalanc_1_9::XalanDeque<class xalanc_1_9::NameSpace,struct  xalanc_1_9::ConstructWithMemoryManagerTraits<class xalanc_1_9::NameSpace> > > __cdecl _STL::__copy_aux(struct xalanc_1_9::XalanDequeIterator<struct xalanc_1_9::XalanDequeConstIteratorTraits<class xalanc_1_9::NameSpace>,class xalanc_1_9::XalanDeque<class xalanc_1_9::NameSpace,struct xalanc_1_9::ConstructWithMemoryManagerTraits<class xalanc_1_9::NameSpace> >>,struct xalanc_1_9::XalanDequeIterator<struct xalanc_1_9::XalanDequeConstIteratorTraits<class xalanc_1_9::NameSpace>,class xalanc_1_9::XalanDeque<class xalanc_1_9::NameSpace,struct xalanc_1_9::ConstructWithMemoryManagerTraits<class xalanc_1_9::NameSpace> >>,class
_STL::back_insert_iterator<class xalanc_1_9::XalanDeque<class xalanc_1_9::NameSpace,struct xalanc_1_9::ConstructWithMemoryManagerTraits<class xalanc_1_9::NameSpace> > >,const struct _STL::__false_type &)' being compiled
---end-error---

The workaround has been to apply this change to xml-xalan\c\src\xalanc\Include\XalanDeque.hpp:
---begin-diff---
33c33
< 
---
> #include <stl/_bvector.h>
59c59
< struct  XalanDequeIterator
---
> struct  XalanDequeIterator : std::_Bit_iterator_base
---end-diff---

So far, the application built using this seems to be working fine.

Please confirm this modification and integrate into XalanC source (maybe predicated upon the presence of XALANC_STLPORT_STL?).

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


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


[jira] Resolved: (XALANC-563) Xalan 1.8.0 needs source change to build with STLPort and MSVC++

Posted by "Dmitry Hayes (JIRA)" <xa...@xml.apache.org>.
     [ http://issues.apache.org/jira/browse/XALANC-563?page=all ]
     
Dmitry Hayes resolved XALANC-563:
---------------------------------

    Resolution: Duplicate

Dublicates XALANC-531. Thanks for solution!

> Xalan 1.8.0 needs source change to build with STLPort and MSVC++
> ----------------------------------------------------------------
>
>          Key: XALANC-563
>          URL: http://issues.apache.org/jira/browse/XALANC-563
>      Project: XalanC
>         Type: Improvement
>   Components: XalanC
>     Versions: 1.9
>  Environment: OS: Win2K (Version 5.0 Build 2195: Service Pack 4)
> Compiler: Microsoft Visual C++ (32-bit C/C++ Optimizing Compiler Version 12.00.8804 for 80x86) with SP5
> Xerces: 2.6.0
> XalanC: 1.9.0
> STLPort: 4.5.3
>     Reporter: Rakshit Simha
>     Priority: Blocker

>
> Building the AllInOne project with STLPort includes and libs (set using Tools->Options->Directories in VC++ GUI), many instances of this error appear:
> ---begin-error---
> L:\bldenv-nt-v19\INCLUDE\STLPORT\stl/_algobase.h(210) : error C2784: 'struct _STL::input_iterator_tag __cdecl _STL::iterator_category(const class _STL::istream_iterator<_Tp,_CharT,_Traits,_Dist> &)' : could not deduce template argument for 'const class _STL::istream_iterator<_Tp,_CharT,_Traits,_Dist> &' from 'struct xalanc_1_9::XalanDequeIterator<struct xalanc_1_9::XalanDequeConstIteratorTraits<class xalanc_1_9::NameSpace>,class xalanc_1_9::XalanDeque<class xalanc_1_9::NameSpace,struct xalanc_1_9::ConstructWithMemoryManagerTraits<class xalanc_1_9::NameSpace> > >'
>  
>         L:\bldenv-nt-v19\INCLUDE\STLPORT\stl/_algobase.h(216) : see reference to function template instantiation 'class _STL::back_insert_iterator<class xalanc_1_9::XalanDeque<class xalanc_1_9::NameSpace,struct  xalanc_1_9::ConstructWithMemoryManagerTraits<class xalanc_1_9::NameSpace> > > __cdecl _STL::__copy_aux(struct xalanc_1_9::XalanDequeIterator<struct xalanc_1_9::XalanDequeConstIteratorTraits<class xalanc_1_9::NameSpace>,class xalanc_1_9::XalanDeque<class xalanc_1_9::NameSpace,struct xalanc_1_9::ConstructWithMemoryManagerTraits<class xalanc_1_9::NameSpace> >>,struct xalanc_1_9::XalanDequeIterator<struct xalanc_1_9::XalanDequeConstIteratorTraits<class xalanc_1_9::NameSpace>,class xalanc_1_9::XalanDeque<class xalanc_1_9::NameSpace,struct xalanc_1_9::ConstructWithMemoryManagerTraits<class xalanc_1_9::NameSpace> >>,class
> _STL::back_insert_iterator<class xalanc_1_9::XalanDeque<class xalanc_1_9::NameSpace,struct xalanc_1_9::ConstructWithMemoryManagerTraits<class xalanc_1_9::NameSpace> > >,const struct _STL::__false_type &)' being compiled
> ---end-error---
> The workaround has been to apply this change to xml-xalan\c\src\xalanc\Include\XalanDeque.hpp:
> ---begin-diff---
> 33c33
> < 
> ---
> > #include <stl/_bvector.h>
> 59c59
> < struct  XalanDequeIterator
> ---
> > struct  XalanDequeIterator : std::_Bit_iterator_base
> ---end-diff---
> So far, the application built using this seems to be working fine.
> Please confirm this modification and integrate into XalanC source (maybe predicated upon the presence of XALANC_STLPORT_STL?).

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


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