Hi,

I added http://bugs.mitk.org/show_bug.cgi?id=14458 for this.

- Sascha

On 02/06/2013 11:10 AM, Clarkson, Matt wrote:
> Hi there,
>
> as it is bugfixing Wednesday ... I just got these on gcc 4.1.2 on Slackware:
>
> [ 51%] Building CXX object 
> Core/Code/CMakeFiles/Mitk.dir/DataManagement/mitkSlicedGeometry3D.cpp.o
> cc1plus: warnings being treated as errors
> /var/drc/scratch1/clarkson/build/32bit/NifTK-SuperBuild-Release/CMakeExternals/Source/MITK/Core/Code/DataManagement/mitkSlicedGeometry3D.cpp:
>  In member function 'virtual void 
> mitk::SlicedGeometry3D::ExecuteOperation(mitk::Operation*)':
> /var/drc/scratch1/clarkson/build/32bit/NifTK-SuperBuild-Release/CMakeExternals/Source/MITK/Core/Code/DataManagement/mitkSlicedGeometry3D.cpp:836:
>  warning: passing 'float' for argument 1 to 'int abs(int)'
> /var/drc/scratch1/clarkson/build/32bit/NifTK-SuperBuild-Release/CMakeExternals/Source/MITK/Core/Code/DataManagement/mitkSlicedGeometry3D.cpp:895:
>  warning: passing 'float' for argument 1 to 'int abs(int)'
>
> cc1plus: warnings being treated as errors
> /var/drc/scratch1/clarkson/build/32bit/NifTK-SuperBuild-Release/CMakeExternals/Source/MITK/Core/Code/DataManagement/mitkSlicedGeometry3D.cpp:
>  In member function 'virtual void 
> mitk::SlicedGeometry3D::ExecuteOperation(mitk::Operation*)':
> /var/drc/scratch1/clarkson/build/32bit/NifTK-SuperBuild-Release/CMakeExternals/Source/MITK/Core/Code/DataManagement/mitkSlicedGeometry3D.cpp:895:
>  warning: passing 'float' for argument 1 to 'int abs(int)'
>
> I also suspect that some of them may need to be fabs() rather than abs() 
> maybe?
>
> Thanks
>
> Matt
>
>
>
> ------------------------------------------------------------------------------
> Free Next-Gen Firewall Hardware Offer
> Buy your Sophos next-gen firewall before the end March 2013
> and get the hardware for free! Learn more.
> http://p.sf.net/sfu/sophos-d2d-feb
> _______________________________________________
> mitk-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/mitk-users


------------------------------------------------------------------------------
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to