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

[PATCH] build failure in cp932 Windows environment caused by ISO-8859 incompatibility

Details

    Description

      ISO-8859 encoding does not have encoding compatibilty against cp932(Windows-31J) which is mainly used in Japanese edition of Windows.
      This incompatibility causes following build failure:

      ~~~
      c:\jw\workspace\dmbvc2013\powershell\work\source\storage\connect\frids.h(25): error C2001: 定数が 2 行目に続いています。 [C:\jw\workspace\dmbvc2013\powershell\work\build-vc2013-zip-32\storage\connect\connect.vcxproj]

      c:\jw\workspace\dmbvc2013\powershell\work\source\storage\connect\frids.h(26): error C2143: 構文エラー : ';' が 'case' の前にありません。 [C:\jw\workspace\dmbvc2013\powershell\work\build-vc2013-zip-32\storage\connect\connect.vcxproj]

      c:\jw\workspace\dmbvc2013\powershell\work\source\storage\connect\frids.h(26): error C2001: 定数が 2 行目に続いています。 [C:\jw\workspace\dmbvc2013\powershell\work\build-vc2013-zip-32\storage\connect\connect.vcxproj]

      c:\jw\workspace\dmbvc2013\powershell\work\source\storage\connect\frids.h(27): error C2143: 構文エラー : ';' が 'case' の前にありません。 [C:\jw\workspace\dmbvc2013\powershell\work\build-vc2013-zip-32\storage\connect\connect.vcxproj]
      ~~~

      ISO-8859's `é";' string does not correctly interpret in cp932 env by MSVC.
      At least, this curious bug can prevent when "frids.h" is saved by UTF-8 encoding.

      Attached "friids.h" is saved with UTF-8 encoding and build log in cp932 environment.

      Attachments

        Activity

          cosmo0920 hiroshi HATAKE created issue -
          cosmo0920 hiroshi HATAKE made changes -
          Field Original Value New Value
          Description ISO-8859 encoding does not have encoding compatibilty against cp932(Windows-31J) which is mainly used in Japanese edition of Windows.
          This incompatibility causes following build failure:

          ~~~
          c:\jw\workspace\dmbvc2013\powershell\work\source\storage\connect\frids.h(25): error C2001: 定数が 2 行目に続いています。 [C:\jw\workspace\dmbvc2013\powershell\work\build-vc2013-zip-32\storage\connect\connect.vcxproj]

          c:\jw\workspace\dmbvc2013\powershell\work\source\storage\connect\frids.h(26): error C2143: 構文エラー : ';' が 'case' の前にありません。 [C:\jw\workspace\dmbvc2013\powershell\work\build-vc2013-zip-32\storage\connect\connect.vcxproj]

          c:\jw\workspace\dmbvc2013\powershell\work\source\storage\connect\frids.h(26): error C2001: 定数が 2 行目に続いています。 [C:\jw\workspace\dmbvc2013\powershell\work\build-vc2013-zip-32\storage\connect\connect.vcxproj]

          c:\jw\workspace\dmbvc2013\powershell\work\source\storage\connect\frids.h(27): error C2143: 構文エラー : ';' が 'case' の前にありません。 [C:\jw\workspace\dmbvc2013\powershell\work\build-vc2013-zip-32\storage\connect\connect.vcxproj]
          ~~~

          ISO-8859's `é";' string does not correctly interpret in cp932 env by MSVC.
          At least, this curious bug can prevent when "frids.h" is save by UTF-8 encoding.

          Attached "friids.h" is saved with UTF-8 encoding and build log in cp932 environment.
          ISO-8859 encoding does not have encoding compatibilty against cp932(Windows-31J) which is mainly used in Japanese edition of Windows.
          This incompatibility causes following build failure:

          ~~~
          c:\jw\workspace\dmbvc2013\powershell\work\source\storage\connect\frids.h(25): error C2001: 定数が 2 行目に続いています。 [C:\jw\workspace\dmbvc2013\powershell\work\build-vc2013-zip-32\storage\connect\connect.vcxproj]

          c:\jw\workspace\dmbvc2013\powershell\work\source\storage\connect\frids.h(26): error C2143: 構文エラー : ';' が 'case' の前にありません。 [C:\jw\workspace\dmbvc2013\powershell\work\build-vc2013-zip-32\storage\connect\connect.vcxproj]

          c:\jw\workspace\dmbvc2013\powershell\work\source\storage\connect\frids.h(26): error C2001: 定数が 2 行目に続いています。 [C:\jw\workspace\dmbvc2013\powershell\work\build-vc2013-zip-32\storage\connect\connect.vcxproj]

          c:\jw\workspace\dmbvc2013\powershell\work\source\storage\connect\frids.h(27): error C2143: 構文エラー : ';' が 'case' の前にありません。 [C:\jw\workspace\dmbvc2013\powershell\work\build-vc2013-zip-32\storage\connect\connect.vcxproj]
          ~~~

          ISO-8859's `é";' string does not correctly interpret in cp932 env by MSVC.
          At least, this curious bug can prevent when "frids.h" is saved by UTF-8 encoding.

          Attached "friids.h" is saved with UTF-8 encoding and build log in cp932 environment.
          elenst Elena Stepanova made changes -
          Fix Version/s 10.0 [ 16000 ]
          Assignee Olivier Bertrand [ bertrandop ]
          Summary build failure in cp932 Windows environment caused by ISO-8859 incompatibility [PATCH] build failure in cp932 Windows environment caused by ISO-8859 incompatibility
          bertrandop Olivier Bertrand made changes -
          Fix Version/s 10.0.16 [ 17900 ]
          Fix Version/s 10.0 [ 16000 ]
          Resolution Fixed [ 1 ]
          Status Open [ 1 ] Closed [ 6 ]
          ratzpo Rasmus Johansson (Inactive) made changes -
          Workflow MariaDB v2 [ 58925 ] MariaDB v3 [ 65660 ]
          serg Sergei Golubchik made changes -
          Workflow MariaDB v3 [ 65660 ] MariaDB v4 [ 148612 ]

          People

            bertrandop Olivier Bertrand
            cosmo0920 hiroshi HATAKE
            Votes:
            0 Vote for this issue
            Watchers:
            2 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.