Uploaded image for project: 'MariaDB ColumnStore'
  1. MariaDB ColumnStore
  2. MCOL-5612

compile error under gcc-13.2.1 (fc39)

    XMLWordPrintable

Details

    Description

      provided in https://pastebin.com/raw/wxpiamXa

      	/usr/local/src/mariadb_10_11/storage/columnstore/columnstore/tools/passwd/secrets.cpp:102:22: error: variable ‘const {anonymous}::HexLookupTable {anonymous}::hex_lookup_table’ has initializer but incomplete type
      	  102 | const HexLookupTable hex_lookup_table = init_hex_lookup_table();
      	      |                      ^~~~~~~~~~~~~~~~
      	/usr/local/src/mariadb_10_11/storage/columnstore/columnstore/tools/passwd/secrets.cpp:102:62: error: invalid use of incomplete type ‘using {anonymous}::HexLookupTable = struct std::array<unsigned char, 256>’ {aka ‘struct std::array<unsigned char, 256>’}
      	  102 | const HexLookupTable hex_lookup_table = init_hex_lookup_table();
      	      |                                         ~~~~~~~~~~~~~~~~~~~~~^~
      

      Also:

      	/usr/local/src/mariadb_10_11/storage/columnstore/columnstore/storage-manager/src/S3Storage.cpp: In member function ‘void storagemanager::S3Storage::returnConnection(ms3_st*)’:
      	/usr/local/src/mariadb_10_11/storage/columnstore/columnstore/storage-manager/src/S3Storage.cpp:800:3: error: ‘freeConns’ was not declared in this scope
      	  800 |   freeConns.push_front(conn);
      	      |   ^~~~~~~~~
      

      	In file included from /usr/local/src/mariadb_10_11/storage/columnstore/columnstore/storage-manager/src/S3Storage.cpp:18:
      	/usr/local/src/mariadb_10_11/storage/columnstore/columnstore/storage-manager/src/S3Storage.h:87:8: error: ‘deque’ in namespace ‘std’ does not name a template type
      	   87 |   std::deque<Connection> freeConns;  // using this as a stack to keep lru objects together
      	      |        ^~~~~
      	/usr/local/src/mariadb_10_11/storage/columnstore/columnstore/storage-manager/src/S3Storage.h:26:1: note: ‘std::deque’ is defined in header ‘<deque>’; did you forget to ‘#include <deque>’?
      	   25 | #include "Config.h"
      	  +++ |+#include <deque>
      	   26 | #include <curl/curl.h>
      

      Attachments

        Issue Links

          Activity

            People

              drrtuy Roman
              danblack Daniel Black
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Git Integration

                  Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.