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

Build error due to obsolete constant names

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 1.0.3
    • 1.0.4
    • Build
    • 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

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