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

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: 10.0
    • Fix Version/s: N/A
    • Component/s: OTHER
    • Labels:
      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

              Assignee:
              bertrandop Olivier Bertrand
              Reporter:
              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.