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

Build Error in MSVC

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Minor
    • Resolution: Duplicate
    • 10.4.10
    • N/A
    • Compiling
    • None

    Description

      MariaDB 10.4.10 occurs the following build error when build it by MSVC++.

      ```text
      C:\projects\source\sql\item_subselect.cc(126): error C2146: syntax error: missing ')' before identifier 'or' [C:\projects\build\sql\sql.vcxproj]
      ```

      The cause of this error to use "or" in the following code.

      https://github.com/MariaDB/server/commit/b44171428ab2ea25db82f7cd27349e67812e4921#diff-002eab3ce25a9edf12c07fa4999ea6b4R126

      Normally, MSVC++ can't interpret "or".
      Therefore the above code is a syntax error.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              komainu8 Horimoto Yasuhiro
              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.