<div dir="ltr"><div>Hi Alan,<br><br></div><div>This is in changes that I made recently to atomic ints but I have not seen this problem. Could you tell me which compiler version you are using? Could you share the CMakeCache.txt file from the build directory?<br><br></div><div>Thanks<br></div><div>Sujin<br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, May 15, 2015 at 9:50 PM, Scott, W Alan <span dir="ltr"><<a href="mailto:wascott@sandia.gov" target="_blank">wascott@sandia.gov</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">






<div>
<font face="Calibri" size="2"><span style="font-size:11pt">
<div>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?</div>
<div> </div>
<div>[  0%] Built target vtksys</div>
<div>[  0%] Building CXX object VTK/Common/Core/CMakeFiles/vtkCommonCore.dir/vtkObjectBase.cxx.o</div>
<div>.../Build/VTK/Common/Core/vtkAtomicInt.h(117): error: first argument must be a pointer to integer or enumeration type</div>
<div>      return __sync_fetch_and_add(ref, 1);</div>
<div>                                  ^</div>
<div>          detected during instantiation of "T vtkAtomicInt<T>::operator++(int) [with T=vtkTypeInt32={signed int}]" at line 201 of ".../ParaView4/VTK/Common/Core/vtkObjectBase.cxx"</div>
<div> </div>
<div>.../Build/VTK/Common/Core/vtkAtomicInt.h(112): error: first argument must be a pointer to integer or enumeration type</div>
<div>      return __sync_sub_and_fetch(ref, 1);</div>
<div>                                  ^</div>
<div>          detected during instantiation of "T vtkAtomicInt<T>::operator--() [with T=vtkTypeInt32={signed int}]" at line 217 of ".../ParaView4/VTK/Common/Core/vtkObjectBase.cxx"</div>
<div> </div>
<div>compilation aborted for .../ParaView4/VTK/Common/Core/vtkObjectBase.cxx (code 2)</div>
<div>make[2]: *** [VTK/Common/Core/CMakeFiles/vtkCommonCore.dir/vtkObjectBase.cxx.o] Error 2</div>
<div>make[1]: *** [VTK/Common/Core/CMakeFiles/vtkCommonCore.dir/all] Error 2</div>
<div>make: *** [all] Error 2</div>
<div> </div>
<div> </div>
<div>Looks to me like there has been work in AtomicInt.h lately...</div><span class="HOEnZb"><font color="#888888">
<div> </div>
<div>Alan</div>
<div> </div>
<div> </div>
<div> </div>
</font></span></span></font>
</div>

<br>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=ParaView" target="_blank">http://markmail.org/search/?q=ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/paraview" target="_blank">http://public.kitware.com/mailman/listinfo/paraview</a><br>
<br></blockquote></div><br></div>