Uploaded image for project: 'MariaDB Connector/Python'
  1. MariaDB Connector/Python
  2. CONPY-125

Build error due to obsolete constant names

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.0.3
    • Fix Version/s: 1.0.4
    • Component/s: Build
    • Labels:
      None

      Description

      This issue was reported on Stackoverflow by Tars Morel

      Due to obsolete constant name ULONG_LONG_MAX build fails:
      mariadb/mariadb_codecs.c: In function 'my_strtoull':

      mariadb/mariadb_codecs.c:148:15: error: 'ULONG_LONG_MAX' undeclared (first use in this function); did you mean 'ULLONG_MAX'?
          148 |     if (val > ULONG_LONG_MAX /10 || val*10 > ULONG_LONG_MAX - (*p - '0'))
      

      According to the documentation the ULONG_LONG_MAX definition is obsolete and should be replaced by ULLONG_MAX.

        Attachments

          Activity

            People

            Assignee:
            georg Georg Richter
            Reporter:
            georg Georg Richter
            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.