Re: vtk-developers Digest, Vol 177, Issue 52

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Re: vtk-developers Digest, Vol 177, Issue 52

Andrew Maclean-3
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 <[hidden email]>
To: Bill Lorensen <[hidden email]>
Cc: VTK Developers <[hidden email]>
Bcc: 
Date: Thu, 31 Jan 2019 18:48:20 -0500
Subject: Re: [vtk-developers] BandedPolyDataContourFilter failes to compile on Ubuntu 14
Hi Bill,

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 <[hidden email]> 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



_______________________________________________
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