[Insight-developers] Why is m_NumberOfThreads signed?
Sean McBride
sean at rogue-research.com
Mon May 16 13:07:53 EDT 2011
On Mon, 16 May 2011 14:38:11 +0000, M.Staring at lumc.nl said:
>- There is already an impact on users when switching to ITK4.
>This is just a small addition.
>
>- Yes, when you are using int you get a warning, but it's a
>good warning! It warns that you may use a negative number for something
>that is never negative.
>
>For me ITK4 is the chance to do things the right way, also for these
>smaller nuisances. Otherwise we are stuck with it for the coming years.
+1. It's not correct for an API that requires a positive count to be
declared to take a signed argument. If these kinds of fixes can't be
done in ITK 4, when can they ever get done?
--
____________________________________________________________
Sean McBride, B. Eng sean at rogue-research.com
Rogue Research www.rogue-research.com
Mac Software Developer Montréal, Québec, Canada
More information about the Insight-developers
mailing list