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

Mantis Bug Tracker mantis at public.kitware.com
Wed Jul 10 11:20:58 EDT 2013


The following issue has been SUBMITTED. 
====================================================================== 
http://www.vtk.org/Bug/view.php?id=14164 
====================================================================== 
Reported By:                Kevin Funk
Assigned To:                
====================================================================== 
Project:                    VTK
Issue ID:                   14164
Category:                   (No Category)
Reproducibility:            have not tried
Severity:                   minor
Priority:                   normal
Status:                     backlog
Project:                    TBD 
Type:                       incorrect functionality 
Resolution:                 open
Fixed in Version:           
====================================================================== 
Date Submitted:             2013-07-10 11:20 EDT
Last Modified:              2013-07-10 11:20 EDT
====================================================================== 
Summary:                    Errors when compiling VTK v6.0.0 in C++11 mode
Description: 
[ 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
/home/krf/devel/src/VTK-master/Common/Core/vtkMath.h:1249:18: note: candidates
are:
In file included from /usr/include/math.h:70:0,
                 from /home/krf/devel/src/VTK-master/Common/Core/vtkSetGet.h:30,
                 from /home/krf/devel/src/VTK-master/Common/Core/vtkObject.h:43,
                 from
/home/krf/devel/src/VTK-master/Common/Core/vtkAbstractArray.h:45,
                 from
/home/krf/devel/src/VTK-master/Common/Core/vtkAbstractArray.cxx:15:
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:202:12: note: int isinf(double)
In file included from
/home/krf/devel/build/VTK-master/Common/Core/vtkMathConfigure.h:24:0,
                 from /home/krf/devel/src/VTK-master/Common/Core/vtkMath.h:42,
                 from
/home/krf/devel/src/VTK-master/Common/Core/vtkAbstractArray.cxx:26:
/usr/include/c++/4.7/cmath:611:3: note: constexpr bool std::isinf(long double)
/usr/include/c++/4.7/cmath:607:3: note: constexpr bool std::isinf(double)
/usr/include/c++/4.7/cmath:603:3: note: constexpr bool std::isinf(float)
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::IsNan(double)':
/home/krf/devel/src/VTK-master/Common/Core/vtkMath.h:1259:18: error: call of
overloaded 'isnan(double&)' is ambiguous
/home/krf/devel/src/VTK-master/Common/Core/vtkMath.h:1259:18: note: candidates
are:
In file included from /usr/include/math.h:70:0,
                 from /home/krf/devel/src/VTK-master/Common/Core/vtkSetGet.h:30,
                 from /home/krf/devel/src/VTK-master/Common/Core/vtkObject.h:43,
                 from
/home/krf/devel/src/VTK-master/Common/Core/vtkAbstractArray.h:45,
                 from
/home/krf/devel/src/VTK-master/Common/Core/vtkAbstractArray.cxx:15:
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:235:12: note: int isnan(double)
In file included from
/home/krf/devel/build/VTK-master/Common/Core/vtkMathConfigure.h:24:0,
                 from /home/krf/devel/src/VTK-master/Common/Core/vtkMath.h:42,
                 from
/home/krf/devel/src/VTK-master/Common/Core/vtkAbstractArray.cxx:26:
/usr/include/c++/4.7/cmath:629:3: note: constexpr bool std::isnan(long double)
/usr/include/c++/4.7/cmath:625:3: note: constexpr bool std::isnan(double)
/usr/include/c++/4.7/cmath:621:3: note: constexpr bool std::isnan(float)
make[2]: *** [Common/Core/CMakeFiles/vtkCommonCore.dir/vtkAbstractArray.cxx.o]
Error 1
make[1]: *** [Common/Core/CMakeFiles/vtkCommonCore.dir/all] Error 2
make: *** [all] Error 2
makeobj[0]: Leaving directory `/home/krf/devel/build/VTK-master'
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2013-07-10 11:20 Kevin Funk     New Issue                                    
======================================================================




More information about the vtk-developers mailing list