<div>Hi,</div><div><br></div><div>I will fix those files up, it looks like it was a simple error in the declaration order that didn&#39;t produce a compilation error anywhere that was tested. Sorry about that - is there a nightly dashboard this will/should be showing up on? Thanks for reporting these issues.</div>

<div><br></div><div>Marcus</div>--<br clear="all">Marcus D. Hanwell, Ph.D.<br>R&amp;D Engineer, Kitware Inc.<br>(518) 881-4937<br><br><div class="gmail_quote">On Wed, Jul 28, 2010 at 1:59 PM, David Gobbi <span dir="ltr">&lt;<a href="mailto:david.gobbi@gmail.com">david.gobbi@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi Michael,<br>
<br>
I&#39;ve pushed the vtkTIFFReader fix.  I&#39;m forwarding bug<br>
<a href="http://public.kitware.com/Bug/view.php?id=11052" target="_blank">http://public.kitware.com/Bug/view.php?id=11052</a> to Marcus because he<br>
probably has some idea about why that anonymous namespace is used in<br>
vtkPlotBar.cxx.<br>
<br>
   David<br>
<br>
<br>
On Wed, Jul 28, 2010 at 11:33 AM, Michael Jackson<br>
<div><div></div><div class="h5">&lt;<a href="mailto:mike.jackson@bluequartz.net">mike.jackson@bluequartz.net</a>&gt; wrote:<br>
&gt; I had just put a #if 0 ... #endif around the code because I was not sure<br>
&gt; what the &quot;correct&quot; fix was. Simply deleting the functions will achieve the<br>
&gt; same thing.<br>
&gt;<br>
&gt; If you can take a look at the other bug it also proposes some fixes for<br>
&gt; clang compile errors.<br>
&gt;<br>
&gt; Thanks<br>
&gt; ___________________________________________________________<br>
&gt; Mike Jackson                      <a href="http://www.bluequartz.net" target="_blank">www.bluequartz.net</a><br>
&gt; Principal Software Engineer       <a href="mailto:mike.jackson@bluequartz.net">mike.jackson@bluequartz.net</a><br>
&gt; BlueQuartz Software               Dayton, Ohio<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; On Jul 28, 2010, at 1:23 PM, David Gobbi wrote:<br>
&gt;<br>
&gt;&gt; Did you try the fix that I suggested, i.e. just removing those two<br>
&gt;&gt; functions?  If that works, then I can commit the fix immediately.<br>
&gt;&gt;<br>
&gt;&gt; I should probably get clang, so that I can test code against it<br>
&gt;&gt; myself.  I&#39;m not fond of xcode, but clang is probably going to become<br>
&gt;&gt; a more and more common compiler as time goes on.<br>
&gt;&gt;<br>
&gt;&gt;  David<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; On Wed, Jul 28, 2010 at 11:12 AM, Michael Jackson<br>
&gt;&gt; &lt;<a href="mailto:mike.jackson@bluequartz.net">mike.jackson@bluequartz.net</a>&gt; wrote:<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; I filed bug <a href="http://public.kitware.com/Bug/view.php?id=11051" target="_blank">http://public.kitware.com/Bug/view.php?id=11051</a> for this<br>
&gt;&gt;&gt; issue<br>
&gt;&gt;&gt; and <a href="http://public.kitware.com/Bug/view.php?id=11052" target="_blank">http://public.kitware.com/Bug/view.php?id=11052</a> for a related issue.<br>
&gt;&gt;&gt; I<br>
&gt;&gt;&gt; don&#39;t have git commit access so I am hoping someone else can do that<br>
&gt;&gt;&gt; part.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; I&#39;ll hopefully be submitting an experimental dashboard within the hour<br>
&gt;&gt;&gt; with<br>
&gt;&gt;&gt; the complete compile/test results for VTK.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; I think I was on the actual VTK 5.6 release from GIT.<br>
&gt;&gt;&gt; ___________________________________________________________<br>
&gt;&gt;&gt; Mike Jackson                      <a href="http://www.bluequartz.net" target="_blank">www.bluequartz.net</a><br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; On Jul 28, 2010, at 1:04 PM, David Gobbi wrote:<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; Do you mean VTK git master?  There&#39;s a difference between VTK 5.6 and<br>
&gt;&gt;&gt;&gt; the latest VTK from git.<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; I think that vtkTIFFReader.cxx has some old templated functions inside<br>
&gt;&gt;&gt;&gt; of it that aren&#39;t used anymore.  The right way to patch the file would<br>
&gt;&gt;&gt;&gt; be to simply remove those functions (ReadTiledImage and<br>
&gt;&gt;&gt;&gt; ReadScanlineImage) completely.<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;  David<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; On Wed, Jul 28, 2010 at 10:23 AM, Michael Jackson<br>
&gt;&gt;&gt;&gt; &lt;<a href="mailto:mike.jackson@bluequartz.net">mike.jackson@bluequartz.net</a>&gt; wrote:<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; I am getting the following compiler error for VTK 5.6<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; [ 57%] /Users/Shared/OpenSource/VTK/IO/vtkTIFFReader.cxx:811:19: error:<br>
&gt;&gt;&gt;&gt;&gt; &#39;EvaluateImageAt&#39; is a protected<br>
&gt;&gt;&gt;&gt;&gt;    member of &#39;vtkTIFFReader&#39;<br>
&gt;&gt;&gt;&gt;&gt;          self-&gt;EvaluateImageAt(image+imagepos,<br>
&gt;&gt;&gt;&gt;&gt; static_cast&lt;T*&gt;(buffer)+tilepos);<br>
&gt;&gt;&gt;&gt;&gt;                ^<br>
&gt;&gt;&gt;&gt;&gt; In file included from<br>
&gt;&gt;&gt;&gt;&gt; /Users/Shared/OpenSource/VTK/IO/vtkTIFFReader.cxx:15:<br>
&gt;&gt;&gt;&gt;&gt; /Users/Shared/OpenSource/VTK/IO/vtkTIFFReader.h:116:7: note: declared<br>
&gt;&gt;&gt;&gt;&gt; protected here<br>
&gt;&gt;&gt;&gt;&gt;  int EvaluateImageAt( void*, void* );<br>
&gt;&gt;&gt;&gt;&gt;    ^<br>
&gt;&gt;&gt;&gt;&gt; /Users/Shared/OpenSource/VTK/IO/vtkTIFFReader.cxx:829:47: error:<br>
&gt;&gt;&gt;&gt;&gt; &#39;GetInternalImage&#39; is a protected<br>
&gt;&gt;&gt;&gt;&gt;    member of &#39;vtkTIFFReader&#39;<br>
&gt;&gt;&gt;&gt;&gt;  unsigned int isize =<br>
&gt;&gt;&gt;&gt;&gt; TIFFScanlineSize(self-&gt;GetInternalImage()-&gt;Image);<br>
&gt;&gt;&gt;&gt;&gt;                                            ^<br>
&gt;&gt;&gt;&gt;&gt; In file included from<br>
&gt;&gt;&gt;&gt;&gt; /Users/Shared/OpenSource/VTK/IO/vtkTIFFReader.cxx:15:<br>
&gt;&gt;&gt;&gt;&gt; /Users/Shared/OpenSource/VTK/IO/vtkTIFFReader.h:114:26: note: declared<br>
&gt;&gt;&gt;&gt;&gt; protected here<br>
&gt;&gt;&gt;&gt;&gt;  vtkTIFFReaderInternal *GetInternalImage() { return<br>
&gt;&gt;&gt;&gt;&gt; this-&gt;InternalImage;<br>
&gt;&gt;&gt;&gt;&gt; }<br>
&gt;&gt;&gt;&gt;&gt;                       ^<br>
&gt;&gt;&gt;&gt;&gt; /Users/Shared/OpenSource/VTK/IO/vtkTIFFReader.cxx:852:21: error:<br>
&gt;&gt;&gt;&gt;&gt; &#39;EvaluateImageAt&#39; is a protected<br>
&gt;&gt;&gt;&gt;&gt;    member of &#39;vtkTIFFReader&#39;<br>
&gt;&gt;&gt;&gt;&gt;      inc = self-&gt;EvaluateImageAt( image,<br>
&gt;&gt;&gt;&gt;&gt;                  ^<br>
&gt;&gt;&gt;&gt;&gt; In file included from<br>
&gt;&gt;&gt;&gt;&gt; /Users/Shared/OpenSource/VTK/IO/vtkTIFFReader.cxx:15:<br>
&gt;&gt;&gt;&gt;&gt; /Users/Shared/OpenSource/VTK/IO/vtkTIFFReader.h:116:7: note: declared<br>
&gt;&gt;&gt;&gt;&gt; protected here<br>
&gt;&gt;&gt;&gt;&gt;  int EvaluateImageAt( void*, void* );<br>
&gt;&gt;&gt;&gt;&gt;    ^<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; Looking at where those errors occur reveals that they are in template<br>
&gt;&gt;&gt;&gt;&gt; functions inside of ReadTiledImage and ReadScanlineImage in the<br>
&gt;&gt;&gt;&gt;&gt; vtkTIFFReader.cxx file. These functions appear never to be used<br>
&gt;&gt;&gt;&gt;&gt; anywhere<br>
&gt;&gt;&gt;&gt;&gt; in<br>
&gt;&gt;&gt;&gt;&gt; the code but if they _do_ get used then a compile error will be thrown<br>
&gt;&gt;&gt;&gt;&gt; at<br>
&gt;&gt;&gt;&gt;&gt; that point. The functions probably need to be moved to the<br>
&gt;&gt;&gt;&gt;&gt; vtkTIFFReader.h<br>
&gt;&gt;&gt;&gt;&gt; file instead of in the vtkTIFFReader.cxx file or the functions need to<br>
&gt;&gt;&gt;&gt;&gt; be<br>
&gt;&gt;&gt;&gt;&gt; removed if they are not being used at all.<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;  If the vtk-devs are ok with that I can submit a patch for someone to<br>
&gt;&gt;&gt;&gt;&gt; commit.<br></div></div></blockquote></div>