[CDRIVER-1559] syscall deprecated in macOS Created: 26/Sep/16  Updated: 03/May/17  Resolved: 17/Mar/17

Status: Closed
Project: C Driver
Component/s: Build, libbson
Affects Version/s: None
Fix Version/s: 1.7.0

Type: Improvement Priority: Minor - P4
Reporter: Jeroen Ooms [X] Assignee: Hannes Magnusson
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

MacOS 10.12


Issue Links:
Related
related to CDRIVER-2088 Can't build libbson on tvOS / watchOS Closed
is related to CDRIVER-1044 Enable -Werror for clang on Evergreen Closed

 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


Generated at Wed Feb 07 21:12:53 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.