You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by Kanchana Welagedara <ka...@opensource.lk> on 2003/12/29 05:31:46 UTC

RE: DETAILS: compile axis C++ with vc7

Hi Mark;

I'm not too sure what you are trying to do.Can you please explain what did
you try to do?Your error seems a problem with the porting.Did you check
whether it is complied with vcpp6?My argument if a Cpp code which is
complied with vcpp6 should be complied with vcpp7 which is the next new
version of vcpp6.Basically if you make me clear your about purpose i'll be
able help you.
Thanks
Kanchana

> -----Original Message-----
> From: Mark B. Elrod [mailto:elrod@vindicia.com]
> Sent: Thursday, January 01, 2004 12:18 AM
> To: axis-dev@ws.apache.org
> Subject: DETAILS: compile axis C++ with vc7
>
>
> I am attempting to compile the Calculator Example under vc++ 7. I am
> getting the following error output:
>
> Calculator.cpp
> c:\Program Files\Microsoft Visual Studio .NET\Vc7\include\xmemory(87) :
> error C2535: 'std::allocator<_Ty>::pointer
> std::allocator<_Ty>::address(std::allocator<_Ty>::reference) const' :
> member function already defined or declared
>          with
>          [
>              _Ty=const 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
>          ]
>          c:\Program Files\Microsoft Visual Studio
> .NET\Vc7\include\xmemory(81) : see declaration of
> 'std::allocator<_Ty>::address'
>          with
>          [
>              _Ty=const 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
>          ]
>          c:\Program Files\Microsoft Visual Studio
> .NET\Vc7\include\xtree(122) : see reference to class template
> instantiation 'std::allocator<_Ty>' being compiled
>          with
>          [
>              _Ty=const 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
>          ]
>          c:\Program Files\Microsoft Visual Studio
> .NET\Vc7\include\map(77) : see reference to class template instantiation
> 'std::_Tree<_Traits>' being compiled
>          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>
>          ]
>          c:\Documents and Settings\elrod\My
> Documents\Source\java\axis-c-src-win32-current-src\axis-c-src-1-0-
> win32\include\axis\common\TypeMapping.h(94)
> : see reference to class template instantiation
> 'std::map<_Kty,_Ty,_Pr,_Alloc>' being compiled
>          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>>
>          ]
>
>