Uploaded image for project: 'MariaDB Connector/ODBC'
  1. MariaDB Connector/ODBC
  2. ODBC-357

mariadb-connector-odbc-master - Error missing character

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Critical
    • Resolution: Not a Bug
    • N/A
    • N/A
    • General
    • None
    • Windows

    Description

      Hi Team,

      we are newly migrating the maria DB (10.5.13) and to compile some of c to dll file, we are using Visual studio 2015 for compilation and copied the following files from 2 different location,

      mariadb-connector-odbc-master : for ma_odbc.h File and supporting files.
      MariaDB ODBC Driver 64-bit : for maodbc.lib file

      Both patched under our code and tried to run the build. getting following errors.

      C:\Sybase\dbencrypt\ma_odbc.h(364): error C2061: syntax error: identifier 'MARIADB_CHARSET_INFO'
      1>C:\Sybase\dbencrypt\ma_odbc.h(365): error C2059: syntax error: '}'
      1>C:\Sybase\dbencrypt\ma_odbc.h(373): error C2061: syntax error: identifier 'Client_Charset'
      1>C:\Sybase\dbencrypt\ma_odbc.h(379): error C2143: syntax error: missing '

      {' before '*' 1>C:\Sybase\dbencrypt\ma_odbc.h(411): error C2059: syntax error: '}

      '
      1>C:\Sybase\dbencrypt\ma_odbc.h(427): error C2143: syntax error: missing ')' before '*'
      1>C:\Sybase\dbencrypt\ma_odbc.h(427): error C2143: syntax error: missing '{' before '*'
      1>C:\Sybase\dbencrypt\ma_odbc.h(427): error C2059: syntax error: 'type'
      1>C:\Sybase\dbencrypt\ma_odbc.h(427): error C2059: syntax error: ')'
      1>C:\Sybase\dbencrypt\ma_odbc.h(428): error C2143: syntax error: missing ')' before '*'
      1>C:\Sybase\dbencrypt\ma_odbc.h(428): error C2143: syntax error: missing '{' before '*'
      1>C:\Sybase\dbencrypt\ma_odbc.h(428): error C2143: syntax error: missing ';' before '*'
      1>C:\Sybase\dbencrypt\ma_odbc.h(428): error C2059: syntax error: ')'
      1>C:\Sybase\dbencrypt\ma_odbc.h(429): error C2143: syntax error: missing ')' before '*'
      1>C:\Sybase\dbencrypt\ma_odbc.h(429): error C2143: syntax error: missing '{' before '*'
      1>C:\Sybase\dbencrypt\ma_odbc.h(429): error C2059: syntax error: ')'
      1>C:\Sybase\dbencrypt\ma_environment.h(29): error C2061: syntax error: identifier 'SourceAnsiCs'
      1>C:\Sybase\dbencrypt\ma_environment.h(29): error C2059: syntax error: ';'
      1>C:\Sybase\dbencrypt\ma_string.h(22): error C2143: syntax error: missing ')' before '*'
      1>C:\Sybase\dbencrypt\ma_string.h(22): error C2081: 'Client_Charset': name in formal parameter list illegal
      1>C:\Sybase\dbencrypt\ma_string.h(22): error C2143: syntax error: missing '{' before '*'
      1>C:\Sybase\dbencrypt\ma_string.h(22): error C2370: 'BOOL': redefinition; different storage class
      1> C:\Program Files (x86)\Microsoft SDKs\Windows\v7.1A\include\windef.h(153): note: see declaration of 'BOOL'
      1>C:\Sybase\dbencrypt\ma_string.h(22): error C2143: syntax error: missing ';' before '*'
      1>C:\Sybase\dbencrypt\ma_string.h(22): error C2059: syntax error: ')'
      1>C:\Sybase\dbencrypt\ma_string.h(23): error C2143: syntax error: missing ')' before '*'
      1>C:\Sybase\dbencrypt\ma_string.h(23): error C2143: syntax error: missing '{' before '*'
      1>C:\Sybase\dbencrypt\ma_string.h(23): error C2059: syntax error: 'type'
      1>C:\Sybase\dbencrypt\ma_string.h(25): error C2059: syntax error: ')'
      1>C:\Sybase\dbencrypt\ma_string.h(35): error C2143: syntax error: missing ')' before '*'
      1>C:\Sybase\dbencrypt\ma_string.h(35): error C2081: 'Client_Charset': name in formal parameter list illegal
      1>C:\Sybase\dbencrypt\ma_string.h(35): error C2143: syntax error: missing '{' before '*'
      1>C:\Sybase\dbencrypt\ma_string.h(35): error C2059: syntax error: ')'
      1>C:\Sybase\dbencrypt\ma_string.h(36): error C2143: syntax error: missing ')' before '*'
      1>C:\Sybase\dbencrypt\ma_string.h(36): error C2143: syntax error: missing '{' before '*'
      1>C:\Sybase\dbencrypt\ma_string.h(36): error C2059: syntax error: 'type'
      1>C:\Sybase\dbencrypt\ma_string.h(37): error C2059: syntax error: ')'
      1>C:\Sybase\dbencrypt\ma_string.h(40): error C2143: syntax error: missing ')' before '*'
      1>C:\Sybase\dbencrypt\ma_string.h(40): error C2081: 'MARIADB_CHARSET_INFO': name in formal parameter list illegal
      1>C:\Sybase\dbencrypt\ma_string.h(40): error C2143: syntax error: missing '{' before '*'
      1>C:\Sybase\dbencrypt\ma_string.h(40): error C2059: syntax error: ')'
      1>C:\Sybase\dbencrypt\ma_string.h(41): error C2143: syntax error: missing ')' before '*'
      1>C:\Sybase\dbencrypt\ma_string.h(41): error C2081: 'MARIADB_CHARSET_INFO': name in formal parameter list illegal
      1>C:\Sybase\dbencrypt\ma_string.h(41): error C2143: syntax error: missing '{' before '*'
      1>C:\Sybase\dbencrypt\ma_string.h(41): error C2059: syntax error: ')'
      1>C:\Sybase\dbencrypt\ma_helper.h(47): error C2143: syntax error: missing ')' before '*'
      1>C:\Sybase\dbencrypt\ma_helper.h(47): error C2081: 'MARIADB_CHARSET_INFO': name in formal parameter list illegal
      1>C:\Sybase\dbencrypt\ma_helper.h(47): error C2143: syntax error: missing '{' before '*'
      1>C:\Sybase\dbencrypt\ma_helper.h(47): error C2059: syntax error: ')'

      I am unable to solve this kindly help or kindly point me the correct version.

      Attachments

        Activity

          People

            Lawrin Lawrin Novitsky
            Anitha Anitha subbu
            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.