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

warning: 'finite' is deprecated: first deprecated in macOS 10.9

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 10.2(EOL)
    • 10.2.30
    • Compiling
    • None

    Description

      /Users/abychko/GitHub/MariaDB/MariaDBEnterprise/sql/item_func.h:244:12: warning: 'finite' is deprecated: first deprecated in macOS 10.9 - Use
            `isfinite((double)x)` instead. [-Wdeprecated-declarations]
          return isfinite(value) ? value : raise_float_overflow();
                 ^
      /Users/abychko/GitHub/MariaDB/MariaDBEnterprise/include/my_global.h:820:21: note: expanded from macro 'isfinite'
      #define isfinite(x) finite(x)
                          ^
      /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/math.h:749:12: note: 'finite' has been explicitly marked deprecated here
      extern int finite(double)
      

      Attachments

        Issue Links

          Activity

            People

              vlad.lesin Vladislav Lesin
              abychko Alexey Bychko (Inactive)
              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.