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

Visual C++ Compile error on storage/connect/tabwmi.cpp

Details

    Description

      Compiler: Visual C++ 2013 Express

      Problem: Visual Studio generates the following error:

      "C:\Code\mrncheck\mariadb-10.0.13\build-redefine-max-vc2013\ALL_BUILD.vcxproj" (default target) (1) ->

      "C:\Code\mrncheck\mariadb-10.0.13\build-redefine-max-vc2013\storage\connect\connect.vcxproj" (default target) (52) ->

      (ClCompile target) ->

      C:\Code\mrncheck\mariadb-10.0.13\mariadb-10.0.13\storage\connect\tabwmi.cpp(203): error C3861: 'max': identifier not found.
      [C:\Code\mrncheck\mariadb-10.0.13\build-redefine-max-vc2013\storage\connect\connect.vcxproj]

      2243 warnings

      1 error

      Attachments

        Issue Links

          Activity

            cosmo0920 hiroshi HATAKE created issue -
            cosmo0920 hiroshi HATAKE made changes -
            Field Original Value New Value
            Description Compiler: Visual C++ 2013 Express

            Problem: Visual Studio generates the following errors due a variable declaration after an assignment.
            ---
            "C:\Code\mrncheck\mariadb-10.0.13\build-redefine-max-vc2013\ALL_BUILD.vcxproj" (default target) (1) ->

            "C:\Code\mrncheck\mariadb-10.0.13\build-redefine-max-vc2013\storage\connect\connect.vcxproj" (default target) (52) ->

            (ClCompile target) ->

              C:\Code\mrncheck\mariadb-10.0.13\mariadb-10.0.13\storage\connect\tabwmi.cpp(203): error C3861: 'max': identifier not found.
             [C:\Code\mrncheck\mariadb-10.0.13\build-redefine-max-vc2013\storage\connect\connect.vcxproj]



                2243 warnings

                1 error
            ---
            Compiler: Visual C++ 2013 Express

            Problem: Visual Studio generates the following error:
            ---
            "C:\Code\mrncheck\mariadb-10.0.13\build-redefine-max-vc2013\ALL_BUILD.vcxproj" (default target) (1) ->

            "C:\Code\mrncheck\mariadb-10.0.13\build-redefine-max-vc2013\storage\connect\connect.vcxproj" (default target) (52) ->

            (ClCompile target) ->

              C:\Code\mrncheck\mariadb-10.0.13\mariadb-10.0.13\storage\connect\tabwmi.cpp(203): error C3861: 'max': identifier not found.
             [C:\Code\mrncheck\mariadb-10.0.13\build-redefine-max-vc2013\storage\connect\connect.vcxproj]



                2243 warnings

                1 error
            ---
            elenst Elena Stepanova made changes -
            Fix Version/s 10.0 [ 16000 ]
            Assignee Olivier Bertrand [ bertrandop ]
            Labels connect-engine compile connect-engine windows
            bertrandop Olivier Bertrand made changes -
            Fix Version/s 10.0.14 [ 17101 ]
            Resolution Fixed [ 1 ]
            Status Open [ 1 ] Closed [ 6 ]
            serg Sergei Golubchik made changes -
            Fix Version/s 10.0 [ 16000 ]
            cosmo0920 hiroshi HATAKE made changes -
            elenst Elena Stepanova made changes -
            elenst Elena Stepanova made changes -
            elenst Elena Stepanova made changes -
            Fix Version/s 10.0.15 [ 17300 ]
            Fix Version/s 10.0.14 [ 17101 ]
            ratzpo Rasmus Johansson (Inactive) made changes -
            Workflow MariaDB v2 [ 53819 ] MariaDB v3 [ 65039 ]
            serg Sergei Golubchik made changes -
            Workflow MariaDB v3 [ 65039 ] MariaDB v4 [ 148213 ]

            People

              bertrandop Olivier Bertrand
              cosmo0920 hiroshi HATAKE
              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.