[ http://issues.apache.org/jira/browse/XALANC-476?page=history ]
     
David Bertoni resolved XALANC-476:
----------------------------------

     Resolution: Fixed
    Fix Version: CurrentCVS

Patch committed.

> compilation fails on cygwin
> ---------------------------
>
>          Key: XALANC-476
>          URL: http://issues.apache.org/jira/browse/XALANC-476
>      Project: XalanC
>         Type: Bug
>   Components: XalanC
>     Versions: CurrentCVS
>  Environment: current cygwin/XP, gcc-3.3.3
>     Reporter: Axel Wei�
>     Assignee: David Bertoni
>      Fix For: CurrentCVS
>  Attachments: patch.txt
>
> Compilation breaks due to an invalid template instantiation in 
> XalanVector.hpp (line 102).
> Suggestion: XALAN_HAS_STD_ITERATORS should be set for cygwin.
> Here is the make-output:
> g++ -O -DNDEBUG     -fno-elide-constructors -Wall -DCYGWIN -D_REENTRANT 
> -DXALAN_INMEM_MSG_LOADER -c -I/home/axel/xml-xalan/c/src 
> -I/home/axel/xml-xalan/c/include -I../../nls/include 
> -I/home/axel/xml-xerces/c/src/ -I/home/axel/xml-xerces/c/include/xercesc 
> -I/home/axel/xml-xerces/c/include/  -o ../../obj/XalanDOMString.o 
> /home/axel/xml-xalan/c/src/xalanc/XalanDOM/XalanDOMString.cpp
> In file included from 
> /home/axel/xml-xalan/c/src/xalanc/XalanDOM/XalanDOMString.hpp:30,
>                  from 
> /home/axel/xml-xalan/c/src/xalanc/XalanDOM/XalanDOMString.cpp:17:
> /home/axel/xml-xalan/c/src/xalanc/Include/XalanVector.hpp:102: error: wrong 
>    number of template arguments (2, should be 1)
> /usr/include/c++/3.3.1/bits/stl_iterator.h:91: error: provided for `
>    template<class _Iterator> class std::reverse_iterator'
> /home/axel/xml-xalan/c/src/xalanc/Include/XalanVector.hpp:102: error: ISO C++ 
>    forbids declaration of `reverse_iterator_' with no type
> /home/axel/xml-xalan/c/src/xalanc/Include/XalanVector.hpp:103: error: wrong 
>    number of template arguments (3, should be 1)
> /usr/include/c++/3.3.1/bits/stl_iterator.h:91: error: provided for `
>    template<class _Iterator> class std::reverse_iterator'
> /home/axel/xml-xalan/c/src/xalanc/Include/XalanVector.hpp:103: error: ISO C++ 
>    forbids declaration of `const_reverse_iterator_' with no type
> and so on...
> Regards,
>            Axel

-- 
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
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to