Uploaded image for project: 'C Driver'
  1. C Driver
  2. CDRIVER-1559

syscall deprecated in macOS

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor - P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.7.0
    • Component/s: build, libbson
    • Labels:
      None
    • Environment:
      MacOS 10.12

      Description

        CC       src/bson/libbson_la-bson-context.lo
      src/bson/bson-context.c:53:11: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use
            kdebug_signpost(). [-Wdeprecated-declarations]
         return syscall (SYS_gettid);
                ^
      /usr/include/unistd.h:733:6: note: 'syscall' has been explicitly marked deprecated here
      int      syscall(int, ...);
               ^
      1
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              bjori Hannes Magnusson
              Reporter:
              Jeroenooms Jeroen Ooms [X] (Inactive)
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: