[Insight-developers] [PATCH] for ITK 3.20 branch for invalid use of ints with std::complex
    Sean McBride 
    sean at rogue-research.com
       
    Wed May  2 14:52:44 EDT 2012
    
    
  
Hi all,
Attached is a small patch removing undefined behaviour in 3.20.
History: I tried to build my own app against libc++ <http://libcxx.llvm.org/> and it failed against one of ITK 3.20's public headers.  Apparently it's undefined behaviour to template std::complex with integer types:
<http://lists.cs.uiuc.edu/pipermail/cfe-dev/2012-March/020398.html>
This code seems to already be gone in ITK 4.
PS: I'll be changing my ITK dashboards to use libc++... when I have some time...
Thanks,
-- 
____________________________________________________________
Sean McBride, B. Eng                 sean at rogue-research.com
Rogue Research                        www.rogue-research.com 
Mac Software Developer              Montréal, Québec, Canada
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/octet-stream
Size: 1333 bytes
Desc: not available
URL: <http://www.itk.org/pipermail/insight-developers/attachments/20120502/9fe355e2/attachment.obj>
    
    
More information about the Insight-developers
mailing list