[vtk-developers] vtk-developers Digest, Vol 177, Issue 52

Andrew Maclean andrew.amaclean at gmail.com
Thu Jan 31 21:00:27 EST 2019


BIll, David

   That's a pretty old compiler, from memory, and I may be wrong, I think
that gcc support was largely experimental in that compiler.
So there may be issues like this, or more, arising in older compilers where
c++11 support was largely experimental or incomplete.

Andrew Maclean


>
>
> ---------- Forwarded message ----------
> From: David Thompson <david.thompson at kitware.com>
> To: Bill Lorensen <bill.lorensen at gmail.com>
> Cc: VTK Developers <vtk-developers at vtk.org>
> Bcc:
> Date: Thu, 31 Jan 2019 18:48:20 -0500
> Subject: Re: [vtk-developers] BandedPolyDataContourFilter failes to
> compile on Ubuntu 14
> Hi Bill,
>
> That is due to this MR:
> https://gitlab.kitware.com/vtk/vtk/merge_requests/5102#note_510947
> which passed VTK's CI build tests. I can ping Andreas to take a look at
> it, but my question for the larger group is what compilers we aim to
> support. I know VTK now allows code that uses some C++11 language and
> library features but don't know if there is a list of minimum requirements
> anywhere.
>
>     David
>
> On Jan 31, 2019, at 18:14, Bill Lorensen <bill.lorensen at gmail.com> wrote:
>
> I get the following error:
>
>
> /home/lorensen/ProjectsGIT/VTKNewModules/Filters/Modeling/vtkBandedPolyDataContourFilter.cxx:
> In member function ‘virtual int
> vtkBandedPolyDataContourFilter::RequestData(vtkInformation*,
> vtkInformationVector**, vtkInformationVector*)’:
>
> /home/lorensen/ProjectsGIT/VTKNewModules/Filters/Modeling/vtkBandedPolyDataContourFilter.cxx:832:58:
> error: ‘void it’ has incomplete type
>           auto it = std::rotate( index.begin(), r1, l1+1 );
>
> It seems that std::rotate returning an iterator was introduced in c++11.
>
> My gcc is:
> gcc (Ubuntu 4.8.4-2ubuntu1~14.04.4) 4.8.4
>
>
>
> --
> Unpaid intern in BillsParadise at noware dot com
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Search the list archives at: http://markmail.org/search/?q=vtk-developers
>
> Follow this link to subscribe/unsubscribe:
> https://vtk.org/mailman/listinfo/vtk-developers
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://vtk.org/pipermail/vtk-developers/attachments/20190201/60181018/attachment.html>


More information about the vtk-developers mailing list