A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/nginxinc/nginx-otel/issues/13 below:

Fails to build from source with GCC 13 · Issue #13 · nginxinc/nginx-otel · GitHub

Describe the bug

Current code (0da0f15) fails to build from source on GCC 13, e.g. Ubuntu 23.10.

To reproduce

Run the build as documented on Ubuntu 23.10 machine (or any other that has GCC 13).

Additional context

Build log:

root@acb12774a011:~/nginx-otel/build# make
...
[  4%] Linking CXX static library libabsl_random_seed_sequences.a
[  4%] Built target absl_random_seed_sequences
[  4%] Building CXX object _deps/grpc-build/third_party/abseil-cpp/absl/strings/CMakeFiles/absl_str_format_internal.dir/internal/str_format/arg.cc.o
[  4%] Building CXX object _deps/grpc-build/third_party/abseil-cpp/absl/strings/CMakeFiles/absl_str_format_internal.dir/internal/str_format/bind.cc.o
[  5%] Building CXX object _deps/grpc-build/third_party/abseil-cpp/absl/strings/CMakeFiles/absl_str_format_internal.dir/internal/str_format/extension.cc.o
In file included from /root/nginx-otel/build/_deps/grpc-src/third_party/abseil-cpp/absl/strings/internal/str_format/extension.cc:16:
/root/nginx-otel/build/_deps/grpc-src/third_party/abseil-cpp/absl/strings/internal/str_format/extension.h:34:6: warning: elaborated-type-specifier for a scoped enum must not use the 'class' keyword
   34 | enum class FormatConversionChar : uint8_t;
      | ~~~~ ^~~~~
      |      -----
/root/nginx-otel/build/_deps/grpc-src/third_party/abseil-cpp/absl/strings/internal/str_format/extension.h:34:33: error: found ':' in nested-name-specifier, expected '::'
   34 | enum class FormatConversionChar : uint8_t;
      |                                 ^
      |                                 ::
/root/nginx-otel/build/_deps/grpc-src/third_party/abseil-cpp/absl/strings/internal/str_format/extension.h:34:12: error: 'FormatConversionChar' has not been declared
   34 | enum class FormatConversionChar : uint8_t;
      |            ^~~~~~~~~~~~~~~~~~~~
/root/nginx-otel/build/_deps/grpc-src/third_party/abseil-cpp/absl/strings/internal/str_format/extension.h:35:6: warning: elaborated-type-specifier for a scoped enum must not use the 'class' keyword
   35 | enum class FormatConversionCharSet : uint64_t;
      | ~~~~ ^~~~~
      |      -----
/root/nginx-otel/build/_deps/grpc-src/third_party/abseil-cpp/absl/strings/internal/str_format/extension.h:35:36: error: found ':' in nested-name-specifier, expected '::'
   35 | enum class FormatConversionCharSet : uint64_t;
      |                                    ^
      |                                    ::
/root/nginx-otel/build/_deps/grpc-src/third_party/abseil-cpp/absl/strings/internal/str_format/extension.h:35:12: error: 'FormatConversionCharSet' has not been declared
   35 | enum class FormatConversionCharSet : uint64_t;
      |            ^~~~~~~~~~~~~~~~~~~~~~~
/root/nginx-otel/build/_deps/grpc-src/third_party/abseil-cpp/absl/strings/internal/str_format/extension.h:131:6: warning: elaborated-type-specifier for a scoped enum must not use the 'class' keyword
  131 | enum class Flags : uint8_t {
      | ~~~~ ^~~~~
      |      -----
/root/nginx-otel/build/_deps/grpc-src/third_party/abseil-cpp/absl/strings/internal/str_format/extension.h:131:18: error: found ':' in nested-name-specifier, expected '::'
  131 | enum class Flags : uint8_t {
      |                  ^
      |                  ::
/root/nginx-otel/build/_deps/grpc-src/third_party/abseil-cpp/absl/strings/internal/str_format/extension.h:131:12: error: 'Flags' has not been declared
  131 | enum class Flags : uint8_t {
      |            ^~~~~
/root/nginx-otel/build/_deps/grpc-src/third_party/abseil-cpp/absl/strings/internal/str_format/extension.h:131:28: error: expected unqualified-id before '{' token
  131 | enum class Flags : uint8_t {
      |                            ^
/root/nginx-otel/build/_deps/grpc-src/third_party/abseil-cpp/absl/strings/internal/str_format/extension.h:143:11: error: 'Flags' does not name a type
  143 | constexpr Flags operator|(Flags a, Flags b) {
      |           ^~~~~
/root/nginx-otel/build/_deps/grpc-src/third_party/abseil-cpp/absl/strings/internal/str_format/extension.h:147:30: error: 'Flags' was not declared in this scope
  147 | constexpr bool FlagsContains(Flags haystack, Flags needle) {
      |                              ^~~~~
/root/nginx-otel/build/_deps/grpc-src/third_party/abseil-cpp/absl/strings/internal/str_format/extension.h:147:46: error: 'Flags' was not declared in this scope
  147 | constexpr bool FlagsContains(Flags haystack, Flags needle) {
      |                                              ^~~~~
/root/nginx-otel/build/_deps/grpc-src/third_party/abseil-cpp/absl/strings/internal/str_format/extension.h:147:58: error: expression list treated as compound expression in initializer [-fpermissive]
  147 | constexpr bool FlagsContains(Flags haystack, Flags needle) {
      |                                                          ^
/root/nginx-otel/build/_deps/grpc-src/third_party/abseil-cpp/absl/strings/internal/str_format/extension.h:152:27: error: 'Flags' was not declared in this scope
  152 | std::string FlagsToString(Flags v);
      |                           ^~~~~
/root/nginx-otel/build/_deps/grpc-src/third_party/abseil-cpp/absl/strings/internal/str_format/extension.h:154:51: error: 'Flags' has not been declared
  154 | inline std::ostream& operator<<(std::ostream& os, Flags v) {
      |                                                   ^~~~~
/root/nginx-otel/build/_deps/grpc-src/third_party/abseil-cpp/absl/strings/internal/str_format/extension.h: In function 'std::ostream& absl::lts_20211102::str_format_internal::operator<<(std::ostream&, int)':
/root/nginx-otel/build/_deps/grpc-src/third_party/abseil-cpp/absl/strings/internal/str_format/extension.h:155:29: error: no match for call to '(std::string {aka std::__cxx11::basic_string<char>}) (int&)'
  155 |   return os << FlagsToString(v);
      |                ~~~~~~~~~~~~~^~~
/root/nginx-otel/build/_deps/grpc-src/third_party/abseil-cpp/absl/strings/internal/str_format/extension.h: At global scope:
/root/nginx-otel/build/_deps/grpc-src/third_party/abseil-cpp/absl/strings/internal/str_format/extension.h:187:8: warning: elaborated-type-specifier for a scoped enum must not use the 'class' keyword
  187 |   enum class Enum : uint8_t {
      |   ~~~~ ^~~~~
      |        -----
...

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4