[Insight-developers] SmartPointerForwardReference Compile error
with mingw
Luis Ibanez
luis.ibanez at kitware.com
Fri Aug 17 10:38:05 EDT 2007
Hi Brad,
Thanks for the explanation.
I guess then that that right solution is to export
the explicit instantiation in the .cxx file.
Is that right ?
It is still unclear to me why this is only a problem
in MinGW, and not in other builds....
Thanks
Luis
-----------------
Brad King wrote:
> Luis Ibanez wrote:
>
>>
>>Does anybody sees a reason why the
>>
>> itkSmartPointerForwardReference.h
>>
>>is not including its corresponding
>>
>> itkSmartPointerForwardReference.txx
>>
>>at the end of the file ?
>>
>>
>>This lack of including the .txx from the .h
>>seems to be the reason for the following
>>build problem in MinGW reported in the users
>>list:
>>
>>http://www.itk.org/pipermail/insight-users/2007-June/022503.html
>>
>>
>>
>>If there are no objections I will add the include of the .txx
>>file at the end of the itkSmartPointerForwardReference.h file.
>
>
> I think it was for some interaction between ProcessObject and
> DataObject. There is an explicit instantiation of
> SmartPointerForwardReference inside itkDataObject.cxx, but it is not
> dllexport-ed.
>
> -Brad
>
More information about the Insight-developers
mailing list