[Insight-users] pb compiling on linux mdk 10 cooker

Yann GAVET yann.gavet at univ-st-etienne.fr
Mon Jun 7 09:44:22 EDT 2004


here is the error message (same pb with the CVS and the 1.6 version):

c++ -o fltkDisplayGlWindowGUI.o  -w   -ftemplate-depth-50 
-Wno-deprecated -I/usr/X11R6/include 
-I/home/yann/Documents/download/InsightApplications/Auxiliary/FltkImageViewer 
-I/usr/local/include/InsightToolkit 
-I/usr/local/include/InsightToolkit/Algorithms 
-I/usr/local/include/InsightToolkit/BasicFilters 
-I/usr/local/include/InsightToolkit/Common 
-I/usr/local/include/InsightToolkit/Numerics 
-I/usr/local/include/InsightToolkit/IO 
-I/usr/local/include/InsightToolkit/Numerics/FEM 
-I/usr/local/include/InsightToolkit/Numerics/Statistics 
-I/usr/local/include/InsightToolkit/SpatialObject 
-I/usr/local/include/InsightToolkit/Utilities/MetaIO 
-I/usr/local/include/InsightToolkit/Utilities/DICOMParser 
-I/usr/local/include/InsightToolkit/Utilities 
-I/usr/local/include/InsightToolkit/Utilities/vxl/vcl 
-I/usr/local/include/InsightToolkit/Utilities/vxl/core 
-I/usr/local/include/vtk -I/usr/share/doc/NVIDIA_GLX-1.0/include 
-I/usr/local/include 
-I/home/yann/Documents/download/InsightApplications/Auxiliary/FltkImageViewer 
    -c 
/home/yann/Documents/download/InsightApplications/Auxiliary/FltkImageViewer/fltkDisplayGlWindowGUI.cxx
In file included from 
/usr/local/include/InsightToolkit/Common/itkVector.txx:21,
                  from 
/usr/local/include/InsightToolkit/Common/itkVector.h:196,
                  from 
/usr/local/include/InsightToolkit/Common/itkPoint.h:20,
                  from 
/home/yann/Documents/download/InsightApplications/Auxiliary/FltkImageViewer/fltkGlWindowInteractive.h:22,
                  from 
/home/yann/Documents/download/InsightApplications/Auxiliary/FltkImageViewer/fltkDisplayGlWindowGUI.h:7,
                  from 
/home/yann/Documents/download/InsightApplications/Auxiliary/FltkImageViewer/fltkDisplayGlWindowGUI.cxx:3:
/usr/local/include/InsightToolkit/Common/itkNumericTraits.h: In static 
member function `static T itk::NumericTraits<T>::NonpositiveMin()':
/usr/local/include/InsightToolkit/Common/itkNumericTraits.h:61: error: 
there are no arguments to `min' that depend on a template parameter, so 
a declaration of `min' must be available
/usr/local/include/InsightToolkit/Common/itkNumericTraits.h:61: error: 
(if you use `-fpermissive', G++ will accept your code, but allowing the 
use of an undeclared name is deprecated)


Yann GAVET wrote:
> It happened after upgrading gcc to:
> c++ (GCC) 3.4.1 (Mandrake Linux (Cooker) 3.4.1-0.1mdk)
> 
> Can anyone confirm ? Any idea ?
> 
> _______________________________________________
> Insight-users mailing list
> Insight-users at itk.org
> http://www.itk.org/mailman/listinfo/insight-users
-------------- next part --------------
A non-text attachment was scrubbed...
Name: yann.gavet.vcf
Type: text/x-vcard
Size: 339 bytes
Desc: not available
Url : http://public.kitware.com/pipermail/insight-users/attachments/20040607/0ef8a079/yann.gavet.vcf


More information about the Insight-users mailing list