Alon Blayer-Gat
2004-04-13 08:08:10 UTC
Hi,
Problems with templates when compiling axis on unixware 7.1.1 with UDK 8
(not UDK 8.1).
Please help.
Regards,
Alon Blayer-Gat.
source='TypeMapping.cpp' object='TypeMapping.lo' libtool=yes \
depfile='.deps/TypeMapping.Plo' tmpdepfile='.deps/TypeMapping.TPlo' \
depmode=none /bin/ksh ../../depcomp \
pping.lo TypeMapping.cpp
rm: cannot remove `.' or `..'
CC -DHAVE_CONFIG_H -I. -I. -I../.. -I/users/mkfir/Unix/axis-c-src-1-0-linux/
include -DUNW -DCOMP_SDK -DARCH_X86AT_UDK_8 -DXBYTE_ORDER -DTEMPLATE_INLINE=
"-DTEMPLATE_DECL=template<>" -Kpentium_pro -Tlocal -c
TypeMapping.cpp -DPIC -o .libs/TypeMapping.o
"/usr/include/CC/xmemory", line 75: error: function
"std::allocator<_Ty>::address(std::allocator<_Ty>::reference) const [with
_Ty=std::_Tree<std::_Tmap_traits<const std::basic_string<char,
std::char_traits<char>, std::allocator<char>>, XSDTYPE, std::less<const
std::basic_string<char, std::char_traits<char>, std::allocator<char>>>,
std::allocator<std::pair<const std::basic_string<char,
std::char_traits<char>, std::allocator<char>>, XSDTYPE>>,
false>>::key_type]" has already been declared
const_pointer address(const_reference _Val) const
^
detected during:
instantiation of class "std::allocator<_Ty> [with
_Ty=std::_Tree<std::_Tmap_traits<const std::basic_string<char,
std::char_traits<char>, std::allocator<char>>, XSDTYPE, std::less<const
std::basic_string<char, std::char_traits<char>, std::allocator<char>>>,
std::allocator<std::pair<const std::basic_string<char,
std::char_traits<char>, std::allocator<char>>, XSDTYPE>>,
false>>::key_type]" at line 106 of "/usr/include/CC/xtree"
instantiation of class "std::_Tree<_Traits> [with
_Traits=std::_Tmap_traits<const std::basic_string<char,
std::char_traits<char>, std::allocator<char>>, XSDTYPE, std::less<const
std::basic_string<char, std::char_traits<char>, std::allocator<char>>>,
std::allocator<std::pair<const std::basic_string<char,
std::char_traits<char>, std::allocator<char>>, XSDTYPE>>, false>]" at line
71 of "/usr/include/CC/map"
instantiation of class "std::map<_Kty, _Ty, _Pr, _Alloc> [with
_Kty=const std::basic_string<char, std::char_traits<char>,
std::allocator<char>>, _Ty=XSDTYPE, _Pr=std::less<const
std::basic_string<char, std::char_traits<char>, std::allocator<char>>>,
_Alloc=std::allocator<std::pair<const std::basic_string<char,
std::char_traits<char>, std::allocator<char>>, XSDTYPE>>]" at line 75 of
"TypeMapping.cpp"
make: *** [TypeMapping.lo] Error 1
Problems with templates when compiling axis on unixware 7.1.1 with UDK 8
(not UDK 8.1).
Please help.
Regards,
Alon Blayer-Gat.
source='TypeMapping.cpp' object='TypeMapping.lo' libtool=yes \
depfile='.deps/TypeMapping.Plo' tmpdepfile='.deps/TypeMapping.TPlo' \
depmode=none /bin/ksh ../../depcomp \
pping.lo TypeMapping.cpp
rm: cannot remove `.' or `..'
CC -DHAVE_CONFIG_H -I. -I. -I../.. -I/users/mkfir/Unix/axis-c-src-1-0-linux/
include -DUNW -DCOMP_SDK -DARCH_X86AT_UDK_8 -DXBYTE_ORDER -DTEMPLATE_INLINE=
"-DTEMPLATE_DECL=template<>" -Kpentium_pro -Tlocal -c
TypeMapping.cpp -DPIC -o .libs/TypeMapping.o
"/usr/include/CC/xmemory", line 75: error: function
"std::allocator<_Ty>::address(std::allocator<_Ty>::reference) const [with
_Ty=std::_Tree<std::_Tmap_traits<const std::basic_string<char,
std::char_traits<char>, std::allocator<char>>, XSDTYPE, std::less<const
std::basic_string<char, std::char_traits<char>, std::allocator<char>>>,
std::allocator<std::pair<const std::basic_string<char,
std::char_traits<char>, std::allocator<char>>, XSDTYPE>>,
false>>::key_type]" has already been declared
const_pointer address(const_reference _Val) const
^
detected during:
instantiation of class "std::allocator<_Ty> [with
_Ty=std::_Tree<std::_Tmap_traits<const std::basic_string<char,
std::char_traits<char>, std::allocator<char>>, XSDTYPE, std::less<const
std::basic_string<char, std::char_traits<char>, std::allocator<char>>>,
std::allocator<std::pair<const std::basic_string<char,
std::char_traits<char>, std::allocator<char>>, XSDTYPE>>,
false>>::key_type]" at line 106 of "/usr/include/CC/xtree"
instantiation of class "std::_Tree<_Traits> [with
_Traits=std::_Tmap_traits<const std::basic_string<char,
std::char_traits<char>, std::allocator<char>>, XSDTYPE, std::less<const
std::basic_string<char, std::char_traits<char>, std::allocator<char>>>,
std::allocator<std::pair<const std::basic_string<char,
std::char_traits<char>, std::allocator<char>>, XSDTYPE>>, false>]" at line
71 of "/usr/include/CC/map"
instantiation of class "std::map<_Kty, _Ty, _Pr, _Alloc> [with
_Kty=const std::basic_string<char, std::char_traits<char>,
std::allocator<char>>, _Ty=XSDTYPE, _Pr=std::less<const
std::basic_string<char, std::char_traits<char>, std::allocator<char>>>,
_Alloc=std::allocator<std::pair<const std::basic_string<char,
std::char_traits<char>, std::allocator<char>>, XSDTYPE>>]" at line 75 of
"TypeMapping.cpp"
make: *** [TypeMapping.lo] Error 1