Uploaded image for project: 'Percona Server for MySQL'
  1. Percona Server for MySQL
  2. PS-5701

Compilation error with clang 8.0.0

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Priority: Low
    • Resolution: Incomplete
    • Affects Version/s: 8.0.15-6
    • Fix Version/s: None
    • Component/s: TokuDB
    • Labels:
    • Environment:

      Fedora 30, clang version 8.0.0 (Fedora 8.0.0-1.fc30))

      Description

      During compilation of master branch with clang 8.0.0 compiler (clang version 8.0.0 (Fedora 8.0.0-1.fc30)) I got following compilation errors

      percona-server/storage/tokudb/PerconaFT/portability/toku_debug_sync.h:76:63: error: extra ';' outside of a function is incompatible with C++98 [-Werror,-Wc++98-compat-extra-semi]
      inline void toku_debug_sync(struct tokutxn *, const char *) {};

      percona/percona-server/storage/tokudb/PerconaFT/portability/toku_instr_mysql.h:47:57: error: missing field 'm_volatility' initializer [-Werror,-Wmissing-field-initializers]
      PSI_mutex_info mutex_info

      Unknown macro: {&m_id, name, 0}

      ;

      percona-server/storage/tokudb/PerconaFT/buildheader/make_tdb.cc:321:9: error: variable 'bit' may be uninitialized when used here [-Werror,-Wconditional-uninitialized]
      dodefine_from_track(loader_flags, LOADER_COMPRESS_INTERMEDIATES);

        Smart Checklist

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                Unassigned
                Reporter:
                romz Zbigniew Romanowski
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: