[Smtk-developers] Warnings

Robert Michael O'Bara bob.obara at kitware.com
Thu Aug 27 12:52:33 EDT 2015


Hi Folks,

When I build SMTK I’m seeing a lot of warnings - some of which are going from things like VTK.

Bob


/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;
               ^
/Users/obara/Projects/Kitware/Builds/CMBSuperBuild/paraview/src/paraview/VTK/Common/Core/vtkType.h:268:9: warning: 
      'long long' is a C++11 extension [-Wc++11-long-long]
typedef long long vtkIdType;
        ^
In file included from /Users/obara/Projects/Kitware/Builds/CMBSuperBuild/smtk/src/smtk-build/smtk/bridge/exodus/smtkExodusSessionPython/smtk_shared_ptr_smtk_bridge_exodus_session__wrapper.cpp:6:
In file included from /Users/obara/Projects/Kitware/Builds/CMBSuperBuild/smtk/src/smtk-build/smtk/bridge/exodus/smtkExodusSessionPython/smtkexodussessionpython_python.h:17:
In file included from /Users/obara/Projects/Kitware/Builds/CMBSuperBuild/smtk/src/smtk/smtk/bridge/exodus/Session.h:21:
In file included from /Users/obara/Projects/Kitware/Builds/CMBSuperBuild/paraview/src/paraview/VTK/Common/DataModel/vtkMultiBlockDataSet.h:40:
In file included from /Users/obara/Projects/Kitware/Builds/CMBSuperBuild/paraview/src/paraview/VTK/Common/DataModel/vtkDataObjectTree.h:34:
In file included from /Users/obara/Projects/Kitware/Builds/CMBSuperBuild/paraview/src/paraview/VTK/Common/DataModel/vtkCompositeDataSet.h:34:
In file included from /Users/obara/Projects/Kitware/Builds/CMBSuperBuild/paraview/src/paraview/VTK/Common/DataModel/vtkDataObject.h:36:
In file included from /Users/obara/Projects/Kitware/Builds/CMBSuperBuild/paraview/src/paraview/VTK/Common/Core/vtkObject.h:42:
In file included from /Users/obara/Projects/Kitware/Builds/CMBSuperBuild/paraview/src/paraview/VTK/Common/Core/vtkObjectBase.h:44:
In file included from /Users/obara/Projects/Kitware/Builds/CMBSuperBuild/paraview/src/paraview/VTK/Common/Core/vtkIndent.h:25:
In file included from /Users/obara/Projects/Kitware/Builds/CMBSuperBuild/paraview/src/paraview/VTK/Common/Core/vtkSystemIncludes.h:46:
/Users/obara/Projects/Kitware/Builds/CMBSuperBuild/paraview/src/paraview/VTK/Common/Core/vtkOStreamWrapper.h:82:35: warning: 
      'long long' is a C++11 extension [-Wc++11-long-long]
  vtkOStreamWrapper& operator << (long long);
                                  ^
/Users/obara/Projects/Kitware/Builds/CMBSuperBuild/paraview/src/paraview/VTK/Common/Core/vtkOStreamWrapper.h:83:44: warning: 
      'long long' is a C++11 extension [-Wc++11-long-long]
  vtkOStreamWrapper& operator << (unsigned long long);
                                           ^
In file included from /Users/obara/Projects/Kitware/Builds/CMBSuperBuild/smtk/src/smtk-build/smtk/bridge/discrete/smtkDiscreteSessionPython/smtk_shared_ptr_smtk_bridge_discrete_session__wrapper.cpp:6:
In file included from /Users/obara/Projects/Kitware/Builds/CMBSuperBuild/smtk/src/smtk-build/smtk/bridge/discrete/smtkDiscreteSessionPython/smtkdiscretesessionpython_python.h:14:
In file included from /Users/obara/Projects/Kitware/Builds/CMBSuperBuild/smtk/src/smtk-build/smtk/smtkCorePython/smtkcorepython_python.h:112:
In file included from /Users/obara/Projects/Kitware/Builds/CMBSuperBuild/smtk/src/smtk/thirdparty/sparsehash/sparse_hash_map:93:
In file included from /Users/obara/Projects/Kitware/Builds/CMBSuperBuild/smtk/src/smtk/thirdparty/sparsehash/internal/sparsehashtable.h:106:
/Users/obara/Projects/Kitware/Builds/CMBSuperBuild/smtk/src/smtk/thirdparty/sparsehash/sparsetable:1653:18: warning: 
      'long long' is a C++11 extension [-Wc++11-long-long]
    if ( value < 0xFFFFFFFFULL ) {        // fits in 4 bytes
                 ^
/Users/obara/Projects/Kitware/Builds/CMBSuperBuild/smtk/src/smtk/thirdparty/sparsehash/sparsetable:1670:19: warning: 
      'long long' is a C++11 extension [-Wc++11-long-long]
    if ( first4 < 0xFFFFFFFFULL ) {
                  ^
In file included from /Users/obara/Projects/Kitware/Builds/CMBSuperBuild/smtk/src/smtk-build/smtk/bridge/exodus/smtkExodusSessionPython/smtk_shared_ptr_smtk_bridge_exodus_session__wrapper.cpp:6:
In file included from /Users/obara/Projects/Kitware/Builds/CMBSuperBuild/smtk/src/smtk-build/smtk/bridge/exodus/smtkExodusSessionPython/smtkexodussessionpython_python.h:17:
In file included from /Users/obara/Projects/Kitware/Builds/CMBSuperBuild/smtk/src/smtk/smtk/bridge/exodus/Session.h:21:
In file included from /Users/obara/Projects/Kitware/Builds/CMBSuperBuild/paraview/src/paraview/VTK/Common/DataModel/vtkMultiBlockDataSet.h:40:
In file included from /Users/obara/Projects/Kitware/Builds/CMBSuperBuild/paraview/src/paraview/VTK/Common/DataModel/vtkDataObjectTree.h:34:
In file included from /Users/obara/Projects/Kitware/Builds/CMBSuperBuild/paraview/src/paraview/VTK/Common/DataModel/vtkCompositeDataSet.h:34:
In file included from /Users/obara/Projects/Kitware/Builds/CMBSuperBuild/paraview/src/paraview/VTK/Common/DataModel/vtkDataObject.h:36:
/Users/obara/Projects/Kitware/Builds/CMBSuperBuild/paraview/src/paraview/VTK/Common/Core/vtkObject.h:53:40: warning: 
      extra ';' inside a class [-Wextra-semi]
  vtkTypeMacro(vtkObject,vtkObjectBase);
                                       ^
In file included from /Users/obara/Projects/Kitware/Builds/CMBSuperBuild/smtk/src/smtk-build/smtk/bridge/exodus/smtkExodusSessionPython/smtk_shared_ptr_smtk_bridge_exodus_session__wrapper.cpp:6:
In file included from /Users/obara/Projects/Kitware/Builds/CMBSuperBuild/smtk/src/smtk-build/smtk/bridge/exodus/smtkExodusSessionPython/smtkexodussessionpython_python.h:17:
In file included from /Users/obara/Projects/Kitware/Builds/CMBSuperBuild/smtk/src/smtk/smtk/bridge/exodus/Session.h:21:
In file included from /Users/obara/Projects/Kitware/Builds/CMBSuperBuild/paraview/src/paraview/VTK/Common/DataModel/vtkMultiBlockDataSet.h:40:
In file included from /Users/obara/Projects/Kitware/Builds/CMBSuperBuild/paraview/src/paraview/VTK/Common/DataModel/vtkDataObjectTree.h:34:
In file included from /Users/obara/Projects/Kitware/Builds/CMBSuperBuild/paraview/src/paraview/VTK/Common/DataModel/vtkCompositeDataSet.h:34:
/Users/obara/Projects/Kitware/Builds/CMBSuperBuild/paraview/src/paraview/VTK/Common/DataModel/vtkDataObject.h:61:40: warning: 
      extra ';' inside a class [-Wextra-semi]
  vtkTypeMacro(vtkDataObject,vtkObject);
                                       ^
In file included from /Users/obara/Projects/Kitware/Builds/CMBSuperBuild/smtk/src/smtk-build/smtk/bridge/exodus/smtkExodusSessionPython/smtk_shared_ptr_smtk_bridge_exodus_session__wrapper.cpp:6:
In file included from /Users/obara/Projects/Kitware/Builds/CMBSuperBuild/smtk/src/smtk-build/smtk/bridge/exodus/smtkExodusSessionPython/smtkexodussessionpython_python.h:17:
In file included from /Users/obara/Projects/Kitware/Builds/CMBSuperBuild/smtk/src/smtk/smtk/bridge/exodus/Session.h:21:
In file included from /Users/obara/Projects/Kitware/Builds/CMBSuperBuild/paraview/src/paraview/VTK/Common/DataModel/vtkMultiBlockDataSet.h:40:
In file included from /Users/obara/Projects/Kitware/Builds/CMBSuperBuild/paraview/src/paraview/VTK/Common/DataModel/vtkDataObjectTree.h:34:
/Users/obara/Projects/Kitware/Builds/CMBSuperBuild/paraview/src/paraview/VTK/Common/DataModel/vtkCompositeDataSet.h:45:51: warning: 
      extra ';' inside a class [-Wextra-semi]
  vtkTypeMacro(vtkCompositeDataSet, vtkDataObject);
                                                  ^
In file included from /Users/obara/Projects/Kitware/Builds/CMBSuperBuild/smtk/src/smtk-build/smtk/bridge/exodus/smtkExodusSessionPython/smtk_shared_ptr_smtk_bridge_exodus_session__wrapper.cpp:6:
In file included from /Users/obara/Projects/Kitware/Builds/CMBSuperBuild/smtk/src/smtk-build/smtk/bridge/exodus/smtkExodusSessionPython/smtkexodussessionpython_python.h:17:
In file included from /Users/obara/Projects/Kitware/Builds/CMBSuperBuild/smtk/src/smtk/smtk/bridge/exodus/Session.h:21:
In file included from /Users/obara/Projects/Kitware/Builds/CMBSuperBuild/paraview/src/paraview/VTK/Common/DataModel/vtkMultiBlockDataSet.h:40:
/Users/obara/Projects/Kitware/Builds/CMBSuperBuild/paraview/src/paraview/VTK/Common/DataModel/vtkDataObjectTree.h:46:55: warning: 
      extra ';' inside a class [-Wextra-semi]
  vtkTypeMacro(vtkDataObjectTree, vtkCompositeDataSet);
                                                      ^
In file included from /Users/obara/Projects/Kitware/Builds/CMBSuperBuild/smtk/src/smtk-build/smtk/bridge/exodus/smtkExodusSessionPython/smtk_shared_ptr_smtk_bridge_exodus_session__wrapper.cpp:6:
In file included from /Users/obara/Projects/Kitware/Builds/CMBSuperBuild/smtk/src/smtk-build/smtk/bridge/exodus/smtkExodusSessionPython/smtkexodussessionpython_python.h:17:
In file included from /Users/obara/Projects/Kitware/Builds/CMBSuperBuild/smtk/src/smtk/smtk/bridge/exodus/Session.h:21:
/Users/obara/Projects/Kitware/Builds/CMBSuperBuild/paraview/src/paraview/VTK/Common/DataModel/vtkMultiBlockDataSet.h:46:56: warning: 
      extra ';' inside a class [-Wextra-semi]
  vtkTypeMacro(vtkMultiBlockDataSet, vtkDataObjectTree);
                                                       ^
In file included from /Users/obara/Projects/Kitware/Builds/CMBSuperBuild/smtk/src/smtk-build/smtk/bridge/exodus/smtkExodusSessionPython/smtk_shared_ptr_smtk_bridge_exodus_session__wrapper.cpp:6:
In file included from /Users/obara/Projects/Kitware/Builds/CMBSuperBuild/smtk/src/smtk-build/smtk/bridge/exodus/smtkExodusSessionPython/smtkexodussessionpython_python.h:17:
/Users/obara/Projects/Kitware/Builds/CMBSuperBuild/smtk/src/smtk/smtk/bridge/exodus/Session.h:92:3: warning: 
      extra ';' inside a class [-Wextra-semi]
  smtkDeclareModelingKernel();
  ^
/Users/obara/Projects/Kitware/Builds/CMBSuperBuild/smtk/src/smtk/smtk/model/Session.h:200:36: note: 
      expanded from macro 'smtkDeclareModelingKernel'
  smtkDeclareOperatorRegistration();
                                   ^
1310 warnings generated.
Linking CXX shared module ../../../lib/smtkRemoteSessionPython.so
[100%] Built target smtkRemoteSessionPython
207 warnings generated.
Linking CXX shared module ../../../lib/smtkExodusSessionPython.so
202 warnings generated.
Linking CXX shared module ../../../lib/smtkDiscreteSessionPython.so
[100%] Built target smtkExodusSessionPython
[100%] Built target smtkDiscreteSessionPython

Robert M. O'Bara, MEng.
Assistant Director of Scientific Computing

Kitware Inc.
28 Corporate Drive
Suite 101
Clifton Park, NY 12065

Phone: (518) 881- 4931




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/smtk-developers/attachments/20150827/e47dcffa/attachment-0001.html>


More information about the Smtk-developers mailing list