[Insight-developers] Microsoft Visual Studio Express 2005: 'uintptr_t' : ambiguous symbol

Bradley Lowekamp blowekamp at mail.nih.gov
Tue Feb 22 08:11:45 EST 2011


Is there some how a "using itk" or "using itk::uintptr_t" any place is the code? ::uintptr_t and itk::uintptr_t really should conflict because they are in different namespaces.

Brad


On Feb 22, 2011, at 4:26 AM, Gaëtan Lehmann wrote:

> 
> Hi,
> 
> I get this error with Microsoft Visual Studio Express 2005:
> 
> C:\Program Files\Microsoft Visual Studio 8\VC\include\xlocnum(590) :  
> error C2872: 'uintptr_t' : ambiguous symbol
> could be 'C:\Program Files\Microsoft Visual Studio 8\VC\include 
> \vadefs.h(52) : __w64 unsigned int uintptr_t'
> or 'c:\tests\itk\code\common\itkIntTypes.h(116) : itk::uintptr_t'
> C:\Program Files\Microsoft Visual Studio 8\VC\include\xlocnum(566) :  
> while compiling class template member function  
> 'std::istreambuf_iterator<_Elem,_Traits>  
> std::num_get<_Elem,_InIt>::do_get(_InIt,_InIt,std::ios_base  
> &,std::ios_base::iostate &,void *&) const'
> with
>  [
>  _Elem=char,
>  _Traits=std::char_traits<char>,
>  _InIt=std::istreambuf_iterator<char,std::char_traits<char>>
>  ]
>  C:\Program Files\Microsoft Visual Studio 8\VC\include 
> \xlocnum(1365) : see reference to class template instantiation  
> 'std::num_get<_Elem,_InIt>' being compiled
> 
> 
> http://www.cdash.org/CDash/viewBuildError.php?buildid=873233
> 
> These are my last build errors with wrapitk on that platform.
> 
> Any idea to fix that?
> 
> Regards,
> 
> Gaëtan
> 
> -- 
> Gaëtan Lehmann
> Biologie du Développement et de la Reproduction
> INRA de Jouy-en-Josas (France)
> tel: +33 1 34 65 29 66    fax: 01 34 65 29 09
> http://voxel.jouy.inra.fr  http://www.itk.org
> http://www.mandriva.org  http://www.bepo.fr
> 
> <PGP.sig><ATT00001..txt>

========================================================
Bradley Lowekamp  
Lockheed Martin Contractor for
Office of High Performance Computing and Communications
National Library of Medicine 
blowekamp at mail.nih.gov


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/mailman/private/insight-developers/attachments/20110222/7a9db900/attachment.htm>


More information about the Insight-developers mailing list