[vtk-developers] Some interesting warnings from the clang compiler

David Gobbi david.gobbi at gmail.com
Thu Jul 29 08:56:32 EDT 2010


The clang compiler has found some interesting warnings.  Can someone
look into the vtkFunctionParser one?  I'll deal with the Tcl wrapper
ones.

vtk-git/Common/vtkFunctionParser.cxx:555:36: warning: use of unary
operator that may be intended as compound assignment (-=)
         this->Stack[stackPosition] =- this->Stack[stackPosition];

vtk-git-clang/Common/vtkObjectTcl.cxx:153:27: warning: conversion
specifies type 'unsigned short' but the argument has type 'int'
[-Wformat]
     sprintf(tempResult,"%hu",temp20);
[ditto for several other tcl-wrapped objects]

Full list here:

http://www.cdash.org/CDash/viewBuildError.php?type=1&buildid=678985

  David



More information about the vtk-developers mailing list