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

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 10.2
    • Fix Version/s: 10.2.30
    • Component/s: Compiling
    • Labels:
      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

              Assignee:
              vlad.lesin Vladislav Lesin
              Reporter:
              abychko Alexey Bychko
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: