Re: vtk build failure with gcc 13.0.0 - enum class

2023-01-17 Thread Jonathan Wakely
On Tue, 17 Jan 2023 at 09:04, Jakub Jelinek wrote: > > On Mon, Jan 16, 2023 at 09:36:39PM -0700, Orion Poplawski wrote: > > elaborated-type-specifier for a scoped enum must not use the 'class' keyword > >33 | enum class EndiannessType : std::uint8_t > > | ^ > > The actual bug is

Re: vtk build failure with gcc 13.0.0 - enum class

2023-01-17 Thread Jakub Jelinek
On Mon, Jan 16, 2023 at 09:36:39PM -0700, Orion Poplawski wrote: > elaborated-type-specifier for a scoped enum must not use the 'class' keyword >33 | enum class EndiannessType : std::uint8_t > | ^ The actual bug is shown in later errors. > 'int32_t' is not a member of 'std'; did

vtk build failure with gcc 13.0.0 - enum class

2023-01-16 Thread Orion Poplawski
With the change to gcc 13, vtk is failing to build with: [ 39%] Building CXX object IO/Image/CMakeFiles/IOImage.dir/vtkSEPReader.cxx.o cd /builddir/build/BUILD/VTK-9.2.5/build/IO/Image && /usr/bin/g++ -DIOImage_EXPORTS -DVTK_IN_VTK -Dkiss_fft_scalar=double -I/builddir/build/BUILD/VTK-9.2.5/bui