[ITK] Win64 Visual Studio 12 segfaults

Мар'ян Климов nekto1989 at gmail.com
Wed Jan 7 12:33:57 EST 2015


Hi Floris,

It would be good if you can reproduce this compiler problem without ITK.
I've tried but no success.

https://connect.microsoft.com/VisualStudio/feedback/details/1060166/compiler-generates-divpd-instruction-on-non-aligned-data

As workaround I suggest adding something like this

#ifdef _MSC_VER
#if (_MSC_VER >= 1800)
    #ifdef _WIN64
     __declspec(align(16))
    #endif
#endif
#endif

for classes that cause problems (FixedArray, Index etc.)

Marian

2015-01-07 18:44 GMT+02:00 Floris Berendsen <floris at isi.uu.nl>:

> Hi all,
>
> I was wondering what the progress is of ITK with respect to Win64 Visual
> Studio 12 (2013). The dashboard has a Win64-VS12-Release under Expected
> Nightly Exotic, but it reports many segfault failures (I can confirm the
> same behaviour).
> All communications I could find related to this topic seem rather old:
>
> http://public.kitware.com/pipermail/community/2013-November/004255.html
>
> http://insight-developers.itk.narkive.com/niWueQGp/4-5-release-candidate-approaching
>
> http://insight-developers.itk.narkive.com/E6RszEvx/regression-errors-with-visual-studio-2013
>
> Does anyone know more about this? Would it help if I try to make a minimal
> example that reproduces the error?
>
> Thanks,
> Floris
>
> _______________________________________________
> Community mailing list
> Community at itk.org
> http://public.kitware.com/mailman/listinfo/community
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/community/attachments/20150107/a25e237e/attachment.html>


More information about the Community mailing list