FTBFS with GCC 13
marxin opened this issue · comments
Martin Liška commented
Fails with:
[ 43s] /home/abuild/rpmbuild/BUILD/abseil-cpp-20211102.0/absl/strings/internal/str_format/extension.h:34:6: warning: elaborated-type-specifier for a scoped enum must not use the 'class' keyword
[ 43s] 34 | enum class FormatConversionChar : uint8_t;
[ 43s] | ~~~~ ^~~~~
[ 43s] | -----
[ 43s] /home/abuild/rpmbuild/BUILD/abseil-cpp-20211102.0/absl/strings/internal/str_format/extension.h:34:33: error: found ':' in nested-name-specifier, expected '::'
[ 43s] 34 | enum class FormatConversionChar : uint8_t;
[ 43s] | ^
[ 43s] | ::
[ 43s] /home/abuild/rpmbuild/BUILD/abseil-cpp-20211102.0/absl/strings/internal/str_format/extension.h:34:12: error: 'FormatConversionChar' has not been declared
[ 43s] 34 | enum class FormatConversionChar : uint8_t;
[ 43s] | ^~~~~~~~~~~~~~~~~~~~
due to:
https://gcc.gnu.org/gcc-13/porting_to.html#header-dep-changes
Derek Mauro commented
This has already been fixed by b957f0c. The fix is in the latest version.
Martin Liška commented
Good, thanks for it.