[vtk-developers] Errors when compiling VTK v6.0.0 in C++11 mode

Sean McBride sean at rogue-research.com
Fri Jul 26 09:34:15 EDT 2013


On Wed, 10 Jul 2013 16:31:47 +0200, Kevin Funk said:

>Compiling VTK v6.0.0 with C++11 mode enabled results in the following 
>compilation error:
>
>"""
>[ 26%] Building CXX object 
>Common/Core/CMakeFiles/vtkCommonCore.dir/vtkAbstractArray.cxx.o
>In file included from /home/krf/devel/src/VTK-
>master/Common/Core/vtkAbstractArray.cxx:26:0:
>/home/krf/devel/src/VTK-master/Common/Core/vtkMath.h: In static member 
>function 'static int vtkMath::IsInf(double)':
>/home/krf/devel/src/VTK-master/Common/Core/vtkMath.h:1249:18: error: call of 
>overloaded 'isinf(double&)' is ambiguous

Can anyone out there provide a linux + gcc + C++11 dashboard?  My Mac + clang + C++11 dashboard did not catch this problem...

Cheers,

-- 
____________________________________________________________
Sean McBride, B. Eng                 sean at rogue-research.com
Rogue Research                        www.rogue-research.com 
Mac Software Developer              Montréal, Québec, Canada





More information about the vtk-developers mailing list