[Insight-developers] VS6 Failures
Bill Lorensen
bill.lorensen at gmail.com
Mon Nov 10 08:55:00 EST 2008
Luis,
I modified the #if to to include VS6 if the code is built with shared
off. I modified the warning to this effect.
http://public.kitware.com/cgi-bin/viewcvs.cgi/Code/Common/itkResourceProbesCollectorBase.txx?root=Insight&r1=1.4&r2=1.5
All seems OK now.
Bill
On Sun, Nov 9, 2008 at 11:10 PM, Bill Lorensen <bill.lorensen at gmail.com> wrote:
> It is probably only if shared, but I do not have a static build. I'll
> try one this week.
>
> On Sun, Nov 9, 2008 at 9:57 PM, Luis Ibanez <luis.ibanez at kitware.com> wrote:
>>
>> Hi Bill,
>>
>> Thanks for looking at this problem.
>>
>> Is it correct to say that this is only a problem when using VS6
>> *and* building Shared ?
>>
>> If so, I can make the warning message more specific to that case.
>>
>>
>> BTW: We probaly will have a patch to 3.10 soon, to include the fixes
>> for remaining issues related to the Oriented Image. We could
>> include this modification in the patch as well.
>>
>>
>>
>> Luis
>>
>>
>> -------------------
>> Bill Lorensen wrote:
>>>
>>> Luis,
>>>
>>> I made several attempts to workaround the bug in VS6 regarding the use
>>> of stl map across dll boundaries. All unsuccessful.
>>> This issue is described here
>>>
>>> http://support.microsoft.com/default.aspx?scid=http://support.microsoft.com:80/support/kb/articles/Q172/3/96.ASP&NoWebContent=1
>>>
>>> So, for VS6 builds I have modified ResourceProbesCollectorsBase to
>>> print a run-time warning that the class is not supported. I replaced
>>> the real methods of the class with empty methods. Now all tests are
>>> passing.
>>>
>>> I'll leave it up to you if you want to place these changes in the
>>> release. All changes are in
>>> Code/Common/itkResourceProbesCollectorBase.txx.
>>>
>>> http://public.kitware.com/cgi-bin/viewcvs.cgi/Code/Common/itkResourceProbesCollectorBase.txx?root=Insight&r1=1.3&r2=1.4&sortby=date
>>>
>>> Bill
>>>
>>
>
More information about the Insight-developers
mailing list