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