[Insight-developers] Another patch for ITK 3.2 branch -- ITK_NO_RETURN seen as harmful

Matt McCormick matt.mccormick at kitware.com
Tue May 22 13:06:34 EDT 2012


Hi Kent,

This was removed in a patch by Sean McBride:


http://itk.org/gitweb?p=ITK.git;a=commit;h=4c2bfb739d2ec073e1f1477e576d656195edbb11

It will be available in 3.20.2.  For now, please use the Git "release-3.20"
branch.

Thanks,
Matt

On Tue, May 22, 2012 at 12:53 PM, Williams, Norman K <
norman-k-williams at uiowa.edu> wrote:

> This has thankfully gone away in ITK 4, but I ran into a problem with this
> in a build that had to work in ITK 3.2.1 branch:
>
> If you use GCC, the __attribute__ ((noreturn)) introduced by ITK_NO_RETURN
> does something, but it doesn't seem to matter if a class method with that
> attribute does actually return.
>
> If you use CLang (and I tried both 3.0 and 3.2 SVN trunk), returning from
> a class method with the noreturn attribute causes a segfault in
> _Unwind_resume.
>
> Can we get rid of ITK_NO_RETURN from 3.2 release branch?
>
> --
> Kent Williams norman-k-williams at uiowa.edu
>
>
>
>
>
>
> ________________________________
> Notice: This UI Health Care e-mail (including attachments) is covered by
> the Electronic Communications Privacy Act, 18 U.S.C. 2510-2521, is
> confidential and may be legally privileged.  If you are not the intended
> recipient, you are hereby notified that any retention, dissemination,
> distribution, or copying of this communication is strictly prohibited.
>  Please reply to the sender that you have received the message in error,
> then delete it.  Thank you.
> ________________________________
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Kitware offers ITK Training Courses, for more information visit:
> http://kitware.com/products/protraining.php
>
> Please keep messages on-topic and check the ITK FAQ at:
> http://www.itk.org/Wiki/ITK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.itk.org/mailman/listinfo/insight-developers
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-developers/attachments/20120522/0496a950/attachment.htm>


More information about the Insight-developers mailing list