<div dir="ltr">Thanks for the heads up -- I'm working on a cleanup branch for this topic now, and will add these fixes to it.<div><br></div><div>Dave</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jan 6, 2015 at 1:39 PM, David Gobbi <span dir="ltr"><<a href="mailto:david.gobbi@gmail.com" target="_blank">david.gobbi@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>The mingw dashboard is showing tons of warnings about the inline</div><div>methods in vtkStructuredData.h</div><div><br></div><a href="https://open.cdash.org/viewBuildError.php?type=1&buildid=3641101" target="_blank">https://open.cdash.org/viewBuildError.php?type=1&buildid=3641101</a><br><div><br></div><div>I believe that this is due to the order in which the inlined methods</div><div>are defined.  Specifically, inline methods should not be used prior to</div><div>their definition, otherwise the mingw compiler complains.</div><div><br></div><div>For example, this:</div><div><br></div><div><div>  inline vtkIdType vtkStructuredData::GetNumberOfCells(int ext[6], int)</div><div>  {</div><div>    int cellDims[3];</div><div>    vtkStructuredData::GetCellDimensionsFromExtent(ext,cellDims);</div></div><div>    ...</div><div>  }</div><div><br></div><div>appears in the header file before this:</div><div><br></div><div><div>  inline void vtkStructuredData::GetCellDimensionsFromExtent(</div><div>      int ext[6], int celldims[3], int)</div><div>  {</div><div>    celldims[0] = vtkStructuredData::Max(ext[1] - ext[0], 0);</div><div>    celldims[1] = vtkStructuredData::Max(ext[3] - ext[2], 0);</div><div>    celldims[2] = vtkStructuredData::Max(ext[5] - ext[4], 0);</div><div>  }</div></div><div><br></div><div>If the definition of GetCellDimensionsFromExtent() appeared before the</div><div>definition of GetNumberOfCells(), then mingw wouldn't complain.</div><span class="HOEnZb"><font color="#888888"><div><br></div><div>  - David</div><div><br></div></font></span></div>
</blockquote></div><br></div>