[Insight-developers] My Modular Configure Warnings

Luis Ibanez luis.ibanez at kitware.com
Sun Apr 10 18:34:02 EDT 2011


Hi Kevin,

Thanks for pointing this out.

This is a real warning.
(and appears in my Linux builds as well).


Here is now a Gerrit patch to fix it:
http://review.source.kitware.com/#change,1362


    Thanks


          Luis


--------------------------------
On Wed, Apr 6, 2011 at 11:45 AM, Kevin H. Hobbs <hobbsk at ohio.edu> wrote:
> My builds on the modular Dashboard seem to be the only ones with this
> configure warning :
>
> CMake Warning at /home/kevin/kitware/CMake/Modules/CPack.cmake:236
> (MESSAGE):
>  CPack.cmake has already been included!!
> Call Stack (most recent call first):
>  Modules/ThirdParty/GDCM/src/gdcm/CMakeLists.txt:823 (INCLUDE)
>
> My builds use the nightly CMake.
>
> Also, it's hard to tell if this is unique because of the 'white' build
> section but my builds are giving a warning :
>
> http://www.cdash.org/CDash/viewBuildError.php?type=1&buildid=941832
>
> /home/kevin/kitware/ITK/Modules/IO/SpatialObjects/src/itkPolygonGroupSpatialObjectXMLFile.cxx:
> In function 'void
> itk::WriteMetaDataAttribute(itk::PolygonGroupSpatialObjectXMLFileWriter*, itk::MetaDataDictionary&,
> const char*, const char*, std::ofstream&) [with T = float]':
> /home/kevin/kitware/ITK/Modules/IO/SpatialObjects/src/itkPolygonGroupSpatialObjectXMLFile.cxx:213:
> warning: 'value' may be used uninitialized in this function
> /home/kevin/kitware/ITK/Modules/IO/SpatialObjects/src/itkPolygonGroupSpatialObjectXMLFile.cxx:
> In function 'void
> itk::WriteMetaDataAttribute(itk::PolygonGroupSpatialObjectXMLFileWriter*, itk::MetaDataDictionary&,
> const char*, const char*, std::ofstream&) [with T = int]':
> /home/kevin/kitware/ITK/Modules/IO/SpatialObjects/src/itkPolygonGroupSpatialObjectXMLFile.cxx:213:
> warning: 'value' may be used uninitialized in this function
>
> Actually both of these also show up on the Monolithic build on murron so
> it doesn't have anything to do with Modular.
>
>
> _______________________________________________
> 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.html
>
> 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 Insight-developers mailing list