<div dir="ltr"><div>Thanks. Slicer code base has been updated accordingly [1].<br></div>Jc<br><br>[1] <a href="http://viewvc.slicer.org/viewvc.cgi/Slicer4?view=revision&revision=22651">http://viewvc.slicer.org/viewvc.cgi/Slicer4?view=revision&revision=22651</a><br>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Oct 28, 2013 at 5:07 PM, Matt McCormick <span dir="ltr"><<a href="mailto:matt.mccormick@kitware.com" target="_blank">matt.mccormick@kitware.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Jc,<br>
<br>
Thanks for the report. This was fixed on master with<br>
<br>
<a href="http://itk.org/gitweb?p=ITK.git;h=737320d0405c3fff67ef2368bd07a74ec8c8ff36" target="_blank">http://itk.org/gitweb?p=ITK.git;h=737320d0405c3fff67ef2368bd07a74ec8c8ff36</a><br>
<br>
It has been backported to the release branch for your convenience with<br>
<br>
ee6472628dcbb12d2723f04dbf3b14764de2b4ff<br>
<br>
Thanks,<br>
Matt<br>
<div><div class="h5"><br>
<br>
On Mon, Oct 28, 2013 at 8:50 PM, Jean-Christophe Fillion-Robin<br>
<<a href="mailto:jchris.fillionr@kitware.com">jchris.fillionr@kitware.com</a>> wrote:<br>
> Hi Folks,<br>
><br>
> When compiling Slicer against the release branch of ITK, I get some<br>
> "-Wunused-local-typedefs" warnings (See below). Should I submit a patch or<br>
> is there a good reason to have these unused local typedefs ?<br>
><br>
> Compiler: g++ (Ubuntu/Linaro 4.8.1-10ubuntu8) 4.8.1<br>
><br>
> Thanks<br>
> Jc<br>
><br>
> /home/jchris/Projects/Slicer-SuperBuild-Debug-Qt485/ITKv4/Modules/Core/Common/include/itkConceptChecking.h:<br>
> In member function ‘void<br>
> itk::Concept::HasNumericTraits<T>::Constraints::constraints()’:<br>
> /home/jchris/Projects/Slicer-SuperBuild-Debug-Qt485/ITKv4/Modules/Core/Common/include/itkConceptChecking.h:594:59:<br>
> warning: typedef ‘ValueType’ locally defined but not used<br>
> [-Wunused-local-typedefs]<br>
> typedef typename NumericTraits< T >::ValueType ValueType;<br>
> ^<br>
> /home/jchris/Projects/Slicer-SuperBuild-Debug-Qt485/ITKv4/Modules/Core/Common/include/itkConceptChecking.h:595:59:<br>
> warning: typedef ‘PrintType’ locally defined but not used<br>
> [-Wunused-local-typedefs]<br>
> typedef typename NumericTraits< T >::PrintType PrintType;<br>
> ^<br>
> /home/jchris/Projects/Slicer-SuperBuild-Debug-Qt485/ITKv4/Modules/Core/Common/include/itkConceptChecking.h:596:59:<br>
> warning: typedef ‘AbsType’ locally defined but not used<br>
> [-Wunused-local-typedefs]<br>
> typedef typename NumericTraits< T >::AbsType AbsType;<br>
> ^<br>
> /home/jchris/Projects/Slicer-SuperBuild-Debug-Qt485/ITKv4/Modules/Core/Common/include/itkConceptChecking.h:597:59:<br>
> warning: typedef ‘AccumulateType’ locally defined but not used<br>
> [-Wunused-local-typedefs]<br>
> typedef typename NumericTraits< T >::AccumulateType AccumulateType;<br>
> ^<br>
> /home/jchris/Projects/Slicer-SuperBuild-Debug-Qt485/ITKv4/Modules/Core/Common/include/itkConceptChecking.h:598:59:<br>
> warning: typedef ‘RealType’ locally defined but not used<br>
> [-Wunused-local-typedefs]<br>
> typedef typename NumericTraits< T >::RealType RealType;<br>
> ^<br>
> /home/jchris/Projects/Slicer-SuperBuild-Debug-Qt485/ITKv4/Modules/Core/Common/include/itkConceptChecking.h:599:59:<br>
> warning: typedef ‘ScalarRealType’ locally defined but not used<br>
> [-Wunused-local-typedefs]<br>
> typedef typename NumericTraits< T >::ScalarRealType ScalarRealType;<br>
> ^<br>
> /home/jchris/Projects/Slicer-SuperBuild-Debug-Qt485/ITKv4/Modules/Core/Common/include/itkConceptChecking.h:600:59:<br>
> warning: typedef ‘FloatType’ locally defined but not used<br>
> [-Wunused-local-typedefs]<br>
> typedef typename NumericTraits< T >::FloatType FloatType;<br>
> ^<br>
> /home/jchris/Projects/Slicer-SuperBuild-Debug-Qt485/ITKv4/Modules/Core/Common/include/itkConceptChecking.h:<br>
> In member function ‘void<br>
> itk::Concept::HasPixelTraits<T>::Constraints::constraints()’:<br>
> /home/jchris/Projects/Slicer-SuperBuild-Debug-Qt485/ITKv4/Modules/Core/Common/include/itkConceptChecking.h:628:52:<br>
> warning: typedef ‘ValueType’ locally defined but not used<br>
> [-Wunused-local-typedefs]<br>
> typedef typename PixelTraits< T >::ValueType ValueType;<br>
> ^<br>
> /home/jchris/Projects/Slicer-SuperBuild-Debug-Qt485/ITKv4/Modules/Core/Common/include/itkConceptChecking.h:<br>
> In member function ‘void<br>
> itk::Concept::HasValueType<T>::Constraints::constraints()’:<br>
> /home/jchris/Projects/Slicer-SuperBuild-Debug-Qt485/ITKv4/Modules/Core/Common/include/itkConceptChecking.h:643:37:<br>
> warning: typedef ‘ValueType’ locally defined but not used<br>
> [-Wunused-local-typedefs]<br>
> typedef typename T::ValueType ValueType;<br>
> ^<br>
> /home/jchris/Projects/Slicer-SuperBuild-Debug-Qt485/ITKv4/Modules/Core/Common/include/itkConceptChecking.h:<br>
> In member function ‘void itk::Concept::HasJoinTraits<T1,<br>
> T2>::Constraints::constraints()’:<br>
> /home/jchris/Projects/Slicer-SuperBuild-Debug-Qt485/ITKv4/Modules/Core/Common/include/itkConceptChecking.h:672:56:<br>
> warning: typedef ‘ValueType’ locally defined but not used<br>
> [-Wunused-local-typedefs]<br>
> typedef typename JoinTraits< T1, T2 >::ValueType ValueType;<br>
> ^<br>
> /home/jchris/Projects/Slicer/Libs/vtkITK/vtkITKArchetypeImageSeriesVectorReaderFile.cxx:<br>
> In function ‘void<br>
> vtkITKExecuteDataFromFileVector(vtkITKArchetypeImageSeriesVectorReaderFile*,<br>
> vtkImageData*)’:<br>
> /home/jchris/Projects/Slicer/Libs/vtkITK/vtkITKArchetypeImageSeriesVectorReaderFile.cxx:55:29:<br>
> warning: typedef ‘VectorPixelType’ locally defined but not used<br>
> [-Wunused-local-typedefs]<br>
> typedef itk::Vector<T, 3> VectorPixelType;<br>
><br>
> --<br>
> +1 919 869 8849<br>
><br>
</div></div>> _______________________________________________<br>
> Community mailing list<br>
> <a href="mailto:Community@itk.org">Community@itk.org</a><br>
> <a href="http://public.kitware.com/cgi-bin/mailman/listinfo/community" target="_blank">http://public.kitware.com/cgi-bin/mailman/listinfo/community</a><br>
><br>
</blockquote></div><br><br clear="all"><br>-- <br>+1 919 869 8849<br>
</div>