[Insight-developers] Borland sees pure virtual class where none exists?

Bill Lorensen wlorens1 at nycap.rr.com
Fri Oct 28 20:19:28 EDT 2005


We should remove this class until we resolve the problem. People get 
erroneous e-mails. Then they start ignoring them.
If you can't do it today (or fix it), I'll remove it tomorrow.

Bill

At 11:00 AM 10/28/2005, Kent Williams wrote:
>I'm going to see about getting BCC32 installed on a Windows box here to 
>test with, but maybe some of you all might have been bitten by this 
>problem before:
>
>I checked in a new class itk::QuaternionOrientationAdapter earlier this 
>week.  This is derived from itk::OrienationAdapter.  OrientationAdapter is 
>a pure virtual class, whose reason to exist is to define function 
>signature for different orientation adapters; it's templated over the type 
>used to represent orientation.
>
>The QuaternionOrientationAdapter is derived using 
>itk::QuaternionRigidTransform<double> as the Orientation Type. Every 
>compiler besides BCC32 accepts this without a whimper.  BCC32 has this 
>complaint:
>*
>*Error E2352 
>c:\Builder\Sources\Insight\Code\Common\itkOrientationAdapter.h 47: Cannot 
>create instance of abstract class 'itk::QuaternionRigidTransform<double>'
>
>Well, If you look at itkQuaternionRigidTransform.h, it's the case that it 
>is NOT an abstract class; it contains no virtual methods without a 
>definition. So the Borland compiler must be confused, and I'm not clear 
>how I would de-confuse it.  Anyone have a guess as to what I should do?
>
>_______________________________________________
>Insight-developers mailing list
>Insight-developers at itk.org
>http://www.itk.org/mailman/listinfo/insight-developers



More information about the Insight-developers mailing list