1>NMAKE : fatal error U1077: 'if' : return code '0x2'
1>Stop.
1>Project : error PRJ0019: A tool returned an error code from "Performing
Makefile project actions"
1>Build log was saved at
"file://e:\olessia\nonPciLibraries\xml-xalan_1_10_0\c\Projects\Win32\VC8.0\Utils\Localization\BuildLog.htm"
1>Localization - 17 error(s), 2 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
-----------------------------------------
Q2)
Next trying to build "AllInOne" of course it cannot be expected to fully
compile due to missing "xalanMessages" but it doesn't even get to that
point.
Here are the errors, all have to do with 'xutility'
------------------------------------------
1>------ Build started: Project: AllInOne, Configuration: Debug Win32 ------
1>Compiling...
1>XalanFileUtility.cpp
1>C:\Program Files\Microsoft Visual Studio 8\VC\include\xutility(1398) :
error C2678: binary '<' : no operator found which takes a left-hand operand
of type 'xalanc_1_10::XalanDequeIterator<XalanDequeTraits,XalanDeque>' (or
there is no acceptable conversion)
1> with
1> [
1>
XalanDequeTraits=xalanc_1_10::XalanDequeConstIteratorTraits<xalanc_1_10::NameSpace>,
1>
XalanDeque=xalanc_1_10::XalanDeque<xalanc_1_10::NameSpace,xalanc_1_10::ConstructWithMemoryManagerTraits<xalanc_1_10::NameSpace>>
1> ]
1>
e:\olessia\nonPciLibraries\xml-xalan_1_10_0\c\src\xalanc/PlatformSupport/DOMStringHelper.hpp(2043):
could be 'bool xalanc_1_10::operator<(const xalanc_1_10::CharVectorType
&,const xalanc_1_10::CharVectorType&)' [found using argument-dependent
lookup]
1>
e:\olessia\nonPciLibraries\xml-xalan_1_10_0\c\src\xalanc/PlatformSupport/DOMStringHelper.hpp(2062):
or 'bool xalanc_1_10::operator<(const xalanc_1_10::XalanDOMString&,const
xalanc_1_10::XalanDOMString&)' [found using argument-dependent lookup]
1>
e:\olessia\nonPciLibraries\xml-xalan_1_10_0\c\src\xalanc/XPath/XalanQName.hpp(424):
or 'bool xalanc_1_10::operator<(const xalanc_1_10::XalanQName&,const
xalanc_1_10::XalanQName&)' [found using argument-dependent lookup]
1>
e:\olessia\nonPciLibraries\xml-xalan_1_10_0\c\src\xalanc/XPath/XObject.hpp(589):
or 'bool xalanc_1_10::operator<(const xalanc_1_10::XObjectPtr&,const
xalanc_1_10::XObjectPtr&)' [found using argument-dependent lookup]
1> while trying to match the argument list
'(xalanc_1_10::XalanDequeIterator<XalanDequeTraits,XalanDeque>,
xalanc_1_10::XalanDequeIterator<XalanDequeTraits,XalanDeque>)'
1> with
1> [
1>
XalanDequeTraits=xalanc_1_10::XalanDequeConstIteratorTraits<xalanc_1_10::NameSpace>,
1>
XalanDeque=xalanc_1_10::XalanDeque<xalanc_1_10::NameSpace,xalanc_1_10::ConstructWithMemoryManagerTraits<xalanc_1_10::NameSpace>>
1> ]
1> C:\Program Files\Microsoft Visual Studio
8\VC\include\xutility(1406) : see reference to function template
instantiation 'void std::_Debug_range2<_InIt>(_RanIt,_RanIt,const wchar_t
*,unsigned int,std::random_access_iterator_tag)' being compiled
1> with
1> [
1>
_InIt=xalanc_1_10::XalanDequeIterator<xalanc_1_10::XalanDequeConstIteratorTraits<xalanc_1_10::NameSpace>,xalanc_1_10::XalanDeque<xalanc_1_10::NameSpace,xalanc_1_10::ConstructWithMemoryManagerTraits<xalanc_1_10::NameSpace>>>,
1>
_RanIt=xalanc_1_10::XalanDequeIterator<xalanc_1_10::XalanDequeConstIteratorTraits<xalanc_1_10::NameSpace>,xalanc_1_10::XalanDeque<xalanc_1_10::NameSpace,xalanc_1_10::ConstructWithMemoryManagerTraits<xalanc_1_10::NameSpace>>>
1> ]
1> C:\Program Files\Microsoft Visual Studio
8\VC\include\xutility(2264) : see reference to function template
instantiation 'void std::_Debug_range<_InIt>(_InIt,_InIt,const wchar_t
*,unsigned int)' being compiled
1> with
1> [
1>
_InIt=xalanc_1_10::XalanDequeIterator<xalanc_1_10::XalanDequeConstIteratorTraits<xalanc_1_10::NameSpace>,xalanc_1_10::XalanDeque<xalanc_1_10::NameSpace,xalanc_1_10::ConstructWithMemoryManagerTraits<xalanc_1_10::NameSpace>>>
1> ]
1> C:\Program Files\Microsoft Visual Studio
8\VC\include\xutility(2357) : see reference to function template
instantiation '_OutIt
std::_Copy_opt<xalanc_1_10::XalanDequeIterator<XalanDequeTraits,XalanDeque>,_OutIt,std::_Iter_random_helper<_Cat1,_Cat2>::_Iter_random_cat>(_InIt,_InIt,_OutIt,_InOutItCat,std::_Nonscalar_ptr_iterator_tag,std::_Range_checked_iterator_tag)'
being compiled
1> with
1> [
1>
_OutIt=std::back_insert_iterator<xalanc_1_10::XalanDeque<xalanc_1_10::NameSpace,xalanc_1_10::ConstructWithMemoryManagerTraits<xalanc_1_10::NameSpace>>>,
1>
XalanDequeTraits=xalanc_1_10::XalanDequeConstIteratorTraits<xalanc_1_10::NameSpace>,
1>
XalanDeque=xalanc_1_10::XalanDeque<xalanc_1_10::NameSpace,xalanc_1_10::ConstructWithMemoryManagerTraits<xalanc_1_10::NameSpace>>,
1>
_Cat1=xalanc_1_10::XalanDequeIterator<xalanc_1_10::XalanDequeConstIteratorTraits<xalanc_1_10::NameSpace>,xalanc_1_10::XalanDeque<xalanc_1_10::NameSpace,xalanc_1_10::ConstructWithMemoryManagerTraits<xalanc_1_10::NameSpace>>>::iterator_category,
1> _Cat2=std::output_iterator_tag,
1>
_InIt=xalanc_1_10::XalanDequeIterator<xalanc_1_10::XalanDequeConstIteratorTraits<xalanc_1_10::NameSpace>,xalanc_1_10::XalanDeque<xalanc_1_10::NameSpace,xalanc_1_10::ConstructWithMemoryManagerTraits<xalanc_1_10::NameSpace>>>,
1>
_InOutItCat=std::_Iter_random_helper<xalanc_1_10::XalanDequeIterator<xalanc_1_10::XalanDequeConstIteratorTraits<xalanc_1_10::NameSpace>,xalanc_1_10::XalanDeque<xalanc_1_10::NameSpace,xalanc_1_10::ConstructWithMemoryManagerTraits<xalanc_1_10::NameSpace>>>::iterator_category,std::output_iterator_tag>::_Iter_random_cat
1> ]
1>
e:\olessia\nonPciLibraries\xml-xalan_1_10_0\c\src\xalanc/Include/XalanDeque.hpp(391)
: see reference to function template instantiation
'std::back_insert_iterator<_Container>
std::copy<xalanc_1_10::XalanDequeIterator<XalanDequeTraits,XalanDeque>,std::back_insert_iterator<_Container>>(_InIt,_InIt,_OutIt)'
being compiled
1> with
1> [
1>
_Container=xalanc_1_10::XalanDeque<xalanc_1_10::NameSpace,xalanc_1_10::ConstructWithMemoryManagerTraits<xalanc_1_10::NameSpace>>,
1>
XalanDequeTraits=xalanc_1_10::XalanDequeConstIteratorTraits<xalanc_1_10::NameSpace>,
1>
XalanDeque=xalanc_1_10::XalanDeque<xalanc_1_10::NameSpace,xalanc_1_10::ConstructWithMemoryManagerTraits<xalanc_1_10::NameSpace>>,
1>
_InIt=xalanc_1_10::XalanDequeIterator<xalanc_1_10::XalanDequeConstIteratorTraits<xalanc_1_10::NameSpace>,xalanc_1_10::XalanDeque<xalanc_1_10::NameSpace,xalanc_1_10::ConstructWithMemoryManagerTraits<xalanc_1_10::NameSpace>>>,
1>
_OutIt=std::back_insert_iterator<xalanc_1_10::XalanDeque<xalanc_1_10::NameSpace,xalanc_1_10::ConstructWithMemoryManagerTraits<xalanc_1_10::NameSpace>>>
1> ]
1>
e:\olessia\nonPciLibraries\xml-xalan_1_10_0\c\src\xalanc/Include/XalanDeque.hpp(389)
: while compiling class template member function
'xalanc_1_10::XalanDeque<Type,ConstructionTraits>
&xalanc_1_10::XalanDeque<Type,ConstructionTraits>::operator =(const
xalanc_1_10::XalanDeque<Type,ConstructionTraits> &)'
1> with
1> [
1> Type=xalanc_1_10::NameSpace,
1>
ConstructionTraits=xalanc_1_10::ConstructWithMemoryManagerTraits<xalanc_1_10::NameSpace>
1> ]
1>
e:\olessia\nonpcilibraries\xml-xalan_1_10_0\c\src\xalanc\xslt\Stylesheet.hpp(784)
: see reference to class template instantiation
'xalanc_1_10::XalanDeque<Type,ConstructionTraits>' being compiled
1> with
1> [
1> Type=xalanc_1_10::NameSpace,
1>
ConstructionTraits=xalanc_1_10::ConstructWithMemoryManagerTraits<xalanc_1_10::NameSpace>
1> ]
1>XPathFactoryDefault.cpp
1>C:\Program Files\Microsoft Visual Studio 8\VC\include\xutility(610) :
error C2039: 'iterator_category' : is not a member of
'xalanc_1_10::XalanSetIterator<Value,MapIterator>'
1> with
1> [
1> Value=const xalanc_1_10::XPath *const ,
1>
MapIterator=xalanc_1_10::XalanMapIterator<xalanc_1_10::XalanMapConstIteratorTraits<std::pair<const
xalanc_1_10::XPath *const
,bool>>,xalanc_1_10::XalanListIteratorBase<xalanc_1_10::XalanListIteratorTraits<xalanc_1_10::XalanMap<const
xalanc_1_10::XPath
*,bool>::Entry>,xalanc_1_10::XalanList<xalanc_1_10::XalanMap<const
xalanc_1_10::XPath *,bool>::Entry>::Node>>
1> ]
1> C:\Program Files\Microsoft Visual Studio
8\VC\include\xutility(1406) : see reference to class template instantiation
'std::iterator_traits<_Iter>' being compiled
1> with
1> [
1> _Iter=xalanc_1_10::XalanSetIterator<const xalanc_1_10::XPath
*const
,xalanc_1_10::XalanMapIterator<xalanc_1_10::XalanMapConstIteratorTraits<std::pair<const
xalanc_1_10::XPath *const
,bool>>,xalanc_1_10::XalanListIteratorBase<xalanc_1_10::XalanListIteratorTraits<xalanc_1_10::XalanMap<const
xalanc_1_10::XPath
*,bool>::Entry>,xalanc_1_10::XalanList<xalanc_1_10::XalanMap<const
xalanc_1_10::XPath *,bool>::Entry>::Node>>>
1> ]
1> C:\Program Files\Microsoft Visual Studio
8\VC\include\algorithm(24) : see reference to function template
instantiation 'void std::_Debug_range<_InIt>(_InIt,_InIt,const wchar_t
*,unsigned int)' being compiled
1> with
1> [
1> _InIt=xalanc_1_10::XalanSetIterator<const xalanc_1_10::XPath
*const
,xalanc_1_10::XalanMapIterator<xalanc_1_10::XalanMapConstIteratorTraits<std::pair<const
xalanc_1_10::XPath *const
,bool>>,xalanc_1_10::XalanListIteratorBase<xalanc_1_10::XalanListIteratorTraits<xalanc_1_10::XalanMap<const
xalanc_1_10::XPath
*,bool>::Entry>,xalanc_1_10::XalanList<xalanc_1_10::XalanMap<const
xalanc_1_10::XPath *,bool>::Entry>::Node>>>
1> ]
1> ..\..\..\..\src\xalanc\XPath\XPathFactoryDefault.cpp(70) : see
reference to function template instantiation '_Fn1
std::for_each<xalanc_1_10::XalanSetIterator<Value,MapIterator>,xalanc_1_10::XPathFactory::DeleteXPathFunctor>(_InIt,_InIt,_Fn1)'
being compiled
1> with
1> [
1> _Fn1=xalanc_1_10::XPathFactory::DeleteXPathFunctor,
1> Value=const xalanc_1_10::XPath *const ,
1>
MapIterator=xalanc_1_10::XalanMapIterator<xalanc_1_10::XalanMapConstIteratorTraits<std::pair<const
xalanc_1_10::XPath *const
,bool>>,xalanc_1_10::XalanListIteratorBase<xalanc_1_10::XalanListIteratorTraits<xalanc_1_10::XalanMap<const
xalanc_1_10::XPath
*,bool>::Entry>,xalanc_1_10::XalanList<xalanc_1_10::XalanMap<const
xalanc_1_10::XPath *,bool>::Entry>::Node>>,
1> _InIt=xalanc_1_10::XalanSetIterator<const xalanc_1_10::XPath
*const
,xalanc_1_10::XalanMapIterator<xalanc_1_10::XalanMapConstIteratorTraits<std::pair<const
xalanc_1_10::XPath *const
,bool>>,xalanc_1_10::XalanListIteratorBase<xalanc_1_10::XalanListIteratorTraits<xalanc_1_10::XalanMap<const
xalanc_1_10::XPath
*,bool>::Entry>,xalanc_1_10::XalanList<xalanc_1_10::XalanMap<const
xalanc_1_10::XPath *,bool>::Entry>::Node>>>
1> ]
1>C:\Program Files\Microsoft Visual Studio 8\VC\include\xutility(610) :
error C2146: syntax error : missing ';' before identifier
'iterator_category'
1>C:\Program Files\Microsoft Visual Studio 8\VC\include\xutility(610) :
error C4430: missing type specifier - int assumed. Note: C++ does not
support default-int
1>C:\Program Files\Microsoft Visual Studio 8\VC\include\xutility(610) :
error C2602: 'std::iterator_traits<_Iter>::iterator_category' is not a
member of a base class of 'std::iterator_traits<_Iter>'
1> with
1> [
1> _Iter=xalanc_1_10::XalanSetIterator<const xalanc_1_10::XPath
*const
,xalanc_1_10::XalanMapIterator<xalanc_1_10::XalanMapConstIteratorTraits<std::pair<const
xalanc_1_10::XPath *const
,bool>>,xalanc_1_10::XalanListIteratorBase<xalanc_1_10::XalanListIteratorTraits<xalanc_1_10::XalanMap<const
xalanc_1_10::XPath
*,bool>::Entry>,xalanc_1_10::XalanList<xalanc_1_10::XalanMap<const
xalanc_1_10::XPath *,bool>::Entry>::Node>>>
1> ]
1> C:\Program Files\Microsoft Visual Studio
8\VC\include\xutility(610) : see declaration of
'std::iterator_traits<_Iter>::iterator_category'
1> with
1> [
1> _Iter=xalanc_1_10::XalanSetIterator<const xalanc_1_10::XPath
*const
,xalanc_1_10::XalanMapIterator<xalanc_1_10::XalanMapConstIteratorTraits<std::pair<const
xalanc_1_10::XPath *const
,bool>>,xalanc_1_10::XalanListIteratorBase<xalanc_1_10::XalanListIteratorTraits<xalanc_1_10::XalanMap<const
xalanc_1_10::XPath
*,bool>::Entry>,xalanc_1_10::XalanList<xalanc_1_10::XalanMap<const
xalanc_1_10::XPath *,bool>::Entry>::Node>>>
1> ]
1>C:\Program Files\Microsoft Visual Studio 8\VC\include\xutility(610) :
error C2868: 'std::iterator_traits<_Iter>::iterator_category' : illegal
syntax for using-declaration; expected qualified-name
1> with
1> [
1> _Iter=xalanc_1_10::XalanSetIterator<const xalanc_1_10::XPath
*const
,xalanc_1_10::XalanMapIterator<xalanc_1_10::XalanMapConstIteratorTraits<std::pair<const
xalanc_1_10::XPath *const
,bool>>,xalanc_1_10::XalanListIteratorBase<xalanc_1_10::XalanListIteratorTraits<xalanc_1_10::XalanMap<const
xalanc_1_10::XPath
*,bool>::Entry>,xalanc_1_10::XalanList<xalanc_1_10::XalanMap<const
xalanc_1_10::XPath *,bool>::Entry>::Node>>>
1> ]
--------------------------------------------------------------
Q3) Release Xalan
For release I could build Xalan's "Localization" the xerces library was set
to wchar_t=YES
While to build Xalan's "AllInOne" I set it to wchar_t=NO
(if it's set to YES there would be tons of errors with regards to wchar
conversion)
and xerces library would have to be build with wchar_t=NO (which makes
sense).
Any ideas why "Localization" wouldn't build with xerces wchar_t=NO?