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

syscall deprecated in macOS

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • 1.7.0
    • Affects Version/s: None
    • Component/s: Build, libbson
    • None
    • Environment:
      MacOS 10.12

        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
      

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

              Created:
              Updated:
              Resolved: