Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-12149

Connect SE: compile errors on Windows with /Zc:strictStrings

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Won't Fix
    • 10.0(EOL)
    • N/A
    • OTHER
    • None

    Description

      When compilng Connect engine on Windows, with VS2015 and option /Zc:strictStrings, the compilation fails with
      errors about converting const char[N] to char *

      To reproduce, run cmake with

      cmake . -DCMAKE_CXX_FLAGS=/Zc:strictStrings

      strictStrings might be made default option in the future.

      I attached errors of compilation attempt.

      See related bug in MySQL https://bugs.mysql.com/bug.php?id=85157
      Below are the 10.0 errors.

      Attachments

        Issue Links

          Activity

            People

              bertrandop Olivier Bertrand
              wlad Vladislav Vaintroub
              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.