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

Gaëtan Lehmann gaetan.lehmann at jouy.inra.fr
Tue Feb 22 14:05:38 EST 2011


I can't find that exactly. The only suspicious "using" I found are:

build/Utilities/itksys/SystemTools.hxx:  using namespace std;
Utilities/vxl/vcl/vcl_cstddef.h:using std::size_t;
Utilities/vxl/vcl/vcl_cstddef.h:using std::ptrdiff_t;

Gaëtan


Le 22 févr. 11 à 14:11, Bradley Lowekamp a écrit :

> 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
>
>

-- 
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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 203 bytes
Desc: Ceci est une signature ?lectronique PGP
URL: <http://www.itk.org/mailman/private/insight-developers/attachments/20110222/64008c57/attachment.pgp>


More information about the Insight-developers mailing list