[ITK Community] [Insight-developers] annoying GCC 4.8 warning in itkIndex.h

Johnson, Hans J hans-johnson at uiowa.edu
Fri Dec 13 13:00:15 EST 2013


Kent,

There is a gerrit patch awaiting merging that will silence this warning.
It is a known false-positive in the gcc 4.8 series.

Perhaps you can take a movement to review the gerrit patch.

Hans


On 12/13/13, 11:20 AM, "Williams, Norman K" <norman-k-williams at uiowa.edu>
wrote:

>It isn't clear what version GCC is used on riemann.sumost.ca but it has
>the same warning that gets repeated hundreds of time on my GCC 4.8.2
>build:
>
>http://open.cdash.org/viewBuildError.php?type=1&buildid=3136920
>
>
>Somehow the compiler has decided that itk::ImageAlgorithm::DispatchedCopy
>is overrunning the array bounds in the itk::Index.
>
>I've pored over the itkIndex.hxx where this happens, and it isn't clear to
>me what the problem is.  Any C++ wizards want to take a look?
>--
>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



________________________________
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



More information about the Community mailing list