[Paraview] Questionable Code in 2.2.1

Kent Eschenberg eschenbe at psc.edu
Mon Aug 8 08:54:54 EDT 2005


Greetings,

While compiling ParaView 2.2.1 on our Tru64 system using the native 
(HP/Compaq/DEC) compiler the following warning was produced:

cc: Warning: 
/usr/local/packages/paraview/2.2.1/src/VTK/Utilities/vtkfreetype/src/truetype/ttgxvar.c, 
line 1322: In this statement, the expression 
"(error=((error=(FT_Alloc(...)))!=0))" modifies the variable "error" more 
than once without an intervening sequence point.  This behavior is 
undefined. (undefvarmod)
    if ( ( error = FT_NEW_ARRAY( delta_xy, n_points ) ) )
---------^

This looks like it should be fixed.

Kent
- - -
Kent Eschenberg   eschenbe at psc.edu   (412)268-6829
Scientific Visualization Specialist
Pittsburgh Supercomputing Center

There are only 10 types of people in the world.
Those who understand binary and those who don't.



More information about the ParaView mailing list