[Insight-developers] warning C4267 on VC7

Luis Ibanez luis.ibanez@kitware.com
Wed, 19 Feb 2003 16:07:18 -0500


I vote for "yes",


   Luis


-----------------------------

Lydia Ng wrote:

> I am starting to use VC7 on my main development machine and as you can
> see from the dashboard there are thousands of warnings. Most of them are
> C4276:
> 
> d:\lng\Insight\Insight\Code\Common\itkObjectStore.txx(154) : warning
> C4267: 'argument' : conversion from 'size_t' to 'unsigned int', possible
> loss of data
> 
> Interestingly there are no docs on C4276. It appears whenever you get
> the size of STL containers.  Another amusing thing is that any sample
> code from the MS support site using STL disable this warning.
> 
> Would it be okay if I disable this also for ITK?
> 
> - Lydia
> 
> _______________________________________________
> Insight-developers mailing list
> Insight-developers@public.kitware.com
> http://public.kitware.com/mailman/listinfo/insight-developers
> 
>