abseil / abseil-cpp

Abseil Common Libraries (C++)

Home Page:https://abseil.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

FTBFS with GCC 13

marxin opened this issue · comments

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

This has already been fixed by b957f0c. The fix is in the latest version.

Good, thanks for it.