Uploaded image for project: 'MariaDB Connector/C++'
  1. MariaDB Connector/C++
  2. CONCPP-68

Disable build with gcc < 4.9

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.9.4
    • Fix Version/s: 1.0.0
    • Component/s: General
    • Labels:
      None

      Description

      Connector uses std::regex to some extent. The support of std::regex comes with gcc version 4.9. With version 4.8 connector can be compiled but is not usable, as first use of regex leads to program termination.

      Thus cmake script should be changed to exit with descriptive error, if detected gcc version is <4.9

      Seemingly, sles12 and centos7 has gcc 4.8 as a default toolchain, an to build on those platforms apparently gcc upgrade is required

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Lawrin Lawrin Novitsky
              Reporter:
              Lawrin Lawrin Novitsky
              Votes:
              0 Vote for this issue
              Watchers:
              1 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.