You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by Holger Flörke <fl...@doctronic.de> on 2001/06/20 11:28:00 UTC
Xalan-C++ and GCC3.0 - New Release?
Hi there,
I would like to compile the Xalan-C1_1 release with the new GCC3.0
(released this monday). Before I spent much time to fix some compile
errors, I would like to know whether there will be a new xalan release this
month.
First I found a bad casting in PlatformSupport/AttrListImpl.cpp:174:
// Add the item...
tempVector.push_back(
getNewEntry(
theEntry->m_Name.begin(),
theEntry->m_Type.begin(),
theEntry->m_Value.begin()));
As far as I see, there is a cast from 'vector<XMLCh>::const_iterator' to
'XMLCh*'. Wahh. Can you rely on the std::vector being implemented as an
array and the iterator as a pointer to the elements?
The same thing happens in many other places (FormatterToHTML.cpp:1100,
FormatterToHTML:1110, XalanArrayKeyMap.hpp:227,...)
Is there a good and general way to handle this incompatibilities?
HolgeR
--
holger floerke d o c t r o n i c
email floerke@doctronic.de information publishing + retrieval
phone +49 (0) 2222 9292 90 http://www.doctronic.de
fax +49 (0) 2222 9292 99