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 2005/04/09 01:12:21 UTC

[jira] Assigned: (XALANC-476) compilation fails on cygwin

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

David Bertoni reassigned XALANC-476:
------------------------------------

    Assign To: David Bertoni

> 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

>
> 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: xalan-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-dev-help@xml.apache.org