I have a feeling these fixes are on the pv branch of Xdmf.git already but possibly not master because we have nightly dashboards that build ParaView with VS10 + 64bit. I'll see about correcting the divergence.<br><br><div class="gmail_quote">
On Thu, Jun 9, 2011 at 11:21 AM, Dominik Szczerba <span dir="ltr"><<a href="mailto:dominik@itis.ethz.ch">dominik@itis.ethz.ch</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
patch2 contained unnecessary degradation from const_iterator to<br>
iterator, the newly attached avoids it.<br>
Both attached again for clarity.<br>
Sorry.<br>
<div><div></div><div class="h5"><br>
On Thu, Jun 9, 2011 at 5:14 PM, Dominik Szczerba <<a href="mailto:dominik@itis.ethz.ch">dominik@itis.ethz.ch</a>> wrote:<br>
> Please find attached two patches to fix the issues. Tested on MSVC2010<br>
> 64bit and Ubuntu 11.04 64bit.<br>
> Can you please review and commit or let me commit?<br>
><br>
> Thanks,<br>
> Dominik<br>
><br>
> On Thu, Jun 9, 2011 at 4:48 PM, Dominik Szczerba <<a href="mailto:dominik@itis.ethz.ch">dominik@itis.ethz.ch</a>> wrote:<br>
>> Was able to fix all but the two:<br>
>><br>
>> Error 3 error C2864: 'XdmfHex125Generator::SpectralOperations::C' :<br>
>> only static const integral data members can be initialized within a<br>
>> class E:\pack\Xdmf\libsrc\XdmfHex125Generator.cxx 84<br>
>> Error 1 error C2864: 'XdmfHex64Generator::SpectralOperations::C' :<br>
>> only static const integral data members can be initialized within a<br>
>> class E:\pack\Xdmf\libsrc\XdmfHex64Generator.cxx 74<br>
>><br>
>> According to:<br>
>><br>
>> <a href="http://msdn.microsoft.com/en-us/library/acxkb76w(v=vs.80).aspx" target="_blank">http://msdn.microsoft.com/en-us/library/acxkb76w(v=vs.80).aspx</a><br>
>><br>
>> Only integers are allowed. Please advise and I send in a patch.<br>
>> Thanks,<br>
>> Dominik<br>
>><br>
>> On Thu, Jun 9, 2011 at 4:21 PM, Dominik Szczerba <<a href="mailto:dominik@itis.ethz.ch">dominik@itis.ethz.ch</a>> wrote:<br>
>>> Compilation of the latest Xdmf from git://<a href="http://paraview.org/Xdmf.git" target="_blank">paraview.org/Xdmf.git</a> fails<br>
>>> on Windows with the below errors.<br>
>>><br>
>>> Regards,<br>
>>> Dominik<br>
>>><br>
>>> Error 61 error C2440: 'initializing' : cannot convert from<br>
>>> 'std::_Tree_iterator<_Mytree>' to<br>
>>> 'std::_Tree_const_iterator<_Mytree>' E:\pack\Xdmf\libsrc\XdmfHex64Generator.cxx 148<br>
>>> Error 67 error C2440: 'initializing' : cannot convert from<br>
>>> 'std::_Tree_iterator<_Mytree>' to<br>
>>> 'std::_Tree_const_iterator<_Mytree>' E:\pack\Xdmf\libsrc\XdmfHex125Generator.cxx 174<br>
>>> Error 73 error C2668: 'log10' : ambiguous call to overloaded<br>
>>> function E:\pack\Xdmf\vtk\vtkXdmfReaderInternal.cxx 835<br>
>>> Error 74 error C2668: 'log10' : ambiguous call to overloaded<br>
>>> function E:\pack\Xdmf\vtk\vtkXdmfReaderInternal.cxx 840<br>
>>> Error 77 error C2668: 'log10' : ambiguous call to overloaded<br>
>>> function E:\pack\Xdmf\vtk\vtkXdmfReaderInternal.cxx 835<br>
>>> Error 78 error C2668: 'log10' : ambiguous call to overloaded<br>
>>> function E:\pack\Xdmf\vtk\vtkXdmfReaderInternal.cxx 840<br>
>>> Error 72 error C2668: 'sqrt' : ambiguous call to overloaded<br>
>>> function E:\pack\Xdmf\vtk\vtkXdmfReaderInternal.cxx 823<br>
>>> Error 76 error C2668: 'sqrt' : ambiguous call to overloaded<br>
>>> function E:\pack\Xdmf\vtk\vtkXdmfReaderInternal.cxx 823<br>
>>> Error 63 error C2678: binary '==' : no operator found which takes a<br>
>>> left-hand operand of type 'std::_Tree_const_iterator<_Mytree>' (or<br>
>>> there is no acceptable<br>
>>> conversion) E:\pack\Xdmf\libsrc\XdmfHex64Generator.cxx 149<br>
>>> Error 68 error C2678: binary '==' : no operator found which takes a<br>
>>> left-hand operand of type 'std::_Tree_const_iterator<_Mytree>' (or<br>
>>> there is no acceptable<br>
>>> conversion) E:\pack\Xdmf\libsrc\XdmfHex125Generator.cxx 175<br>
>>> Error 62 error C2864: 'XdmfHex125Generator::SpectralOperations::C' :<br>
>>> only static const integral data members can be initialized within a<br>
>>> class E:\pack\Xdmf\libsrc\XdmfHex125Generator.cxx 84<br>
>>> Error 59 error C2864: 'XdmfHex64Generator::SpectralOperations::C' :<br>
>>> only static const integral data members can be initialized within a<br>
>>> class E:\pack\Xdmf\libsrc\XdmfHex64Generator.cxx 74<br>
>>><br>
>><br>
><br>
</div></div><br>_______________________________________________<br>
Xdmf mailing list<br>
<a href="mailto:Xdmf@lists.kitware.com">Xdmf@lists.kitware.com</a><br>
<a href="http://www.kitware.com/cgi-bin/mailman/listinfo/xdmf" target="_blank">http://www.kitware.com/cgi-bin/mailman/listinfo/xdmf</a><br>
<br></blockquote></div><br>