[Smtk-developers] Warnings

Ben Boeckel ben.boeckel at kitware.com
Thu Aug 27 17:13:04 EDT 2015


On Thu, Aug 27, 2015 at 12:52:33 -0400, Robert Michael O'Bara wrote:
> /Users/obara/Projects/Kitware/Builds/CMBSuperBuild/smtk/src/smtk/smtk/model/Session.h:200:36: note: 
>       expanded from macro 'smtkDeclareModelingKernel'
>   smtkDeclareOperatorRegistration();
>                                    ^

These would need a style change to SMTK.

> /Users/obara/Projects/Kitware/Builds/CMBSuperBuild/paraview/src/paraview/VTK/Common/Core/vtkType.h:225:16: warning: 
>       'long long' is a C++11 extension [-Wc++11-long-long]
> typedef signed long long   vtkTypeInt64;

...

> 1310 warnings generated.
> Linking CXX shared module ../../../lib/smtkRemoteSessionPython.so

SMTK is setting -std=c++11, but VTK headers are not warning-clean in such a
situation. SMTK should either use "SYSTEM" as the first argument when adding
VTK/ParaView include directories or not set C++11 as its target.

--Ben


More information about the Smtk-developers mailing list