I am getting the following build error when building ParaView. This is from
master, on Linux, targeting a cluster (redsky). Clean build, new pull of a git
tree. Any ideas?
[ 0%] Built target vtksys
[ 0%] Building CXX object
VTK/Common/Core/CMakeFiles/vtkCommonCore.dir/vtkObjectBase.cxx.o
.../Build/VTK/Common/Core/vtkAtomicInt.h(117): error: first argument must be a
pointer to integer or enumeration type
return __sync_fetch_and_add(ref, 1);
^
detected during instantiation of "T vtkAtomicInt<T>::operator++(int)
[with T=vtkTypeInt32={signed int}]" at line 201 of
".../ParaView4/VTK/Common/Core/vtkObjectBase.cxx"
.../Build/VTK/Common/Core/vtkAtomicInt.h(112): error: first argument must be a
pointer to integer or enumeration type
return __sync_sub_and_fetch(ref, 1);
^
detected during instantiation of "T vtkAtomicInt<T>::operator--()
[with T=vtkTypeInt32={signed int}]" at line 217 of
".../ParaView4/VTK/Common/Core/vtkObjectBase.cxx"
compilation aborted for .../ParaView4/VTK/Common/Core/vtkObjectBase.cxx (code 2)
make[2]: *** [VTK/Common/Core/CMakeFiles/vtkCommonCore.dir/vtkObjectBase.cxx.o]
Error 2
make[1]: *** [VTK/Common/Core/CMakeFiles/vtkCommonCore.dir/all] Error 2
make: *** [all] Error 2
Looks to me like there has been work in AtomicInt.h lately...
Alan
_______________________________________________
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please keep messages on-topic and check the ParaView Wiki at:
http://paraview.org/Wiki/ParaView
Search the list archives at: http://markmail.org/search/?q=ParaView
Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview