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

system_keys_container.cc:128:146: error: no matching function for call to 'make_pair...'

    XMLWordPrintable

    Details

    • Type: Admin & Maintenance Task
    • Status: Done
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.7.23-23
    • Component/s: None
    • Labels:
      None

      Description

      Hi Team,

      cannot compile PS on CentOS 6 with gcc 6.3.1

      /tmp/ps/plugin/keyring/common/system_keys_container.cc:128:146: error: no matching function for call to 'make_pair(std::string&, keyring::System_key_adapter*)'
             system_key_id_to_system_key.insert(std::make_pair<std::string, System_key_adapter*>(system_key_id, new System_key_adapter(key_version, key)));
                                                                                                                                                        ^
      In file included from /opt/rh/devtoolset-6/root/usr/include/c++/6.3.1/bits/stl_algobase.h:64:0,
                       from /opt/rh/devtoolset-6/root/usr/include/c++/6.3.1/bits/stl_tree.h:63,
                       from /opt/rh/devtoolset-6/root/usr/include/c++/6.3.1/map:60,
                       from /tmp/ps/plugin/keyring/common/system_keys_container.h:22,
                       from /tmp/ps/plugin/keyring/common/system_keys_container.cc:17:
      

      could you help

        Smart Checklist

          Attachments

            Activity

              People

              • Assignee:
                robert.golebiowski Robert Golebiowski
                Reporter:
                mykola.marzhan Mykola Marzhan
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: