[vtk-developers] vtkGPUInfo and large amounts of memory

Berk Geveci berk.geveci at kitware.com
Mon Jul 7 15:53:33 EDT 2014


Bugs in the API are fair game to fix even if they break compatibility. I'd
say fix it. I would go with a 64 bit type like Dave T. suggested.

-berk



On Mon, Jul 7, 2014 at 1:06 PM, Sean McBride <sean at rogue-research.com>
wrote:

> On Mon, 7 Jul 2014 09:34:22 -0400, David Cole said:
>
> >Right, but using size_t will still give you a potential overflow
> >problem in a 32-bit pointer build... Shouldn't the type *always* be
> >large enough to represent expected actual memory sizes encountered in
> >the wild? And therefore, shouldn't it be something that's always at
> >least 64-bits wide as "the other David" suggested...?
>
> That's fine with me too.
>
> So back to the original question: is such a change minor enough to not
> count as breaking API/ABI?  Or is it all just not worth it?  :)
>
> Cheers,
>
> --
> ____________________________________________________________
> Sean McBride, B. Eng                 sean at rogue-research.com
> Rogue Research                        www.rogue-research.com
> Mac Software Developer              Montréal, Québec, Canada
>
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtk-developers
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20140707/f6592409/attachment-0002.html>


More information about the vtk-developers mailing list