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

Disable build with gcc < 4.9

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 0.9.4
    • 1.0.0
    • General
    • 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

              Lawrin Lawrin Novitsky
              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.