[Insight-developers] ITK_EXPLICIT_INSTANTIATION breaks Insight
Test build in
Insight/Code/Common/itkPhasedArray3DSpecialCoordinatesImage.h?
Hans Johnson
hjohnson at psychiatry.uiowa.edu
Tue Jan 18 14:21:07 EST 2005
Kent,
Sorry, I fixed this last week and forgot to commit the code. This now
works again and the code has been committed.
Hans
On Tue, 2005-01-18 at 10:43 -0600, Kent Williams wrote:
> There is code in itkPhasedArray3DSpecialCoordinatesImage.h that is
> broken if ITK_EXPLICIT_INSTANTIATION is defined.
>
> #ifdef ITK_EXPLICIT_INSTANTIATION
> extern template class
> PhasedArray3DSpecialCoordinatesImage<float ,2>;
> extern template class
> PhasedArray3DSpecialCoordinatesImage<double ,2>;
>
> etc.
>
> The problem is that PhasedArray3DSpecialCoordinateImage<> now supports
> only 3D, and has only one
> template parameter.
>
> It looks like eliminating the 2D explicit instantiations, and fixing the
> 3D cases allows compilation to complete. My question is should I just
> check in this change, or does someone who actually knows this code want
> to take a look?
>
> _______________________________________________
> Insight-developers mailing list
> Insight-developers at itk.org
> http://www.itk.org/mailman/listinfo/insight-developers
>
--
Hans Johnson <hjohnson at server.psychiatry.uiowa.edu>
More information about the Insight-developers
mailing list