<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
Hi, gurus,
<br>&nbsp; First time compile VTK&nbsp;application on Linux platform, and
got the errors like this:
<p>"/home/software/vtk/vtk4.0/Linux/usr/local/include/vtk/vtkDataArray.h",
line 105: remark #981: operands are evaluated in unspecified order
<br>&nbsp;&nbsp;&nbsp; vtkSetClampMacro(NumberOfComponents,int,1,VTK_LARGE_INTEGER);
<br>......
<br>......
<br>"/home/software/vtk/vtk4.0/Linux/usr/local/include/vtk/vtkDataArray.h",
line 318: remark #981: operands are evaluated in unspecified order
<br>&nbsp;&nbsp;&nbsp; vtkGetObjectMacro(LookupTable,vtkLookupTable);
<br>......
<br>......
<br>"/home/software/vtk/vtk4.0/Linux/usr/local/include/vtk/vtkScalarsToColors.h",
line 117: remark #810: conversion from "double" to "float" may lose significant
bits
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; return rgb[0]*0.30 + rgb[1]*0.59 + rgb[2]*0.11;}
<br>......
<br>......
<br>"/home/software/vtk/vtk4.0/Linux/usr/local/include/vtk/vtkScalarsToColors.h",
line 125: remark #981: operands are evaluated in unspecified order
<br>&nbsp;&nbsp;&nbsp; vtkGetMacro(Alpha,float);
<br>......
<br>......
<br>Hundreds of such errors, I am using Intel's ICC as compiler, do I need
some flags ???? or my VTK&nbsp;itself has problems ???? Thanks a lot!!
<br>&nbsp;
<pre>--&nbsp;
Song Li
VRAC(Virtual Reality Application Center),Iowa State University
Email: lisong@vrac.iastate.edu
Homepage: <A HREF="http://www.vrac.iastate.edu/~lisong">http://www.vrac.iastate.edu/~lisong</A></pre>
&nbsp;</html>