Skip Menu |

This queue is for tickets about the Proc-ProcessTable CPAN distribution.

Report information
The Basics
Id: 129881
Status: new
Priority: 0/
Queue: Proc-ProcessTable

People
Owner: Nobody in particular
Requestors: wyant [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Unimportant
Broken in: (no value)
Fixed in: (no value)



Subject: os/darwin.h includes deprecated .h file
When building under macOS (as they spell it now) 10.14.5 Mojave, cc emits the following warning while compiling OS.c: In file included from OS.c:45: In file included from ./os/darwin.h:53: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/mach/shared_memory_server.h:48:2: warning: "<mach/shared_memory_server.h> is deprecated. Please use <mach/shared_region.h> instead." [-W#warnings] #warning "<mach/shared_memory_server.h> is deprecated. Please use <mach... ^ 1 warning generated. I have called this unimportant because it still works. The real purpose of this ticket is to register awareness. I am the author of os/darwin.*. I have looked into this, but found actual documentation scant. The original was cribbed heavily from the Darwin ps command, specifically tasks.c. As of right now (macOS 10.14.5 Mojave), tasks.c still uses the old interface. I have worked out code using the new interface that produces results that look sane-ish (though NOT identical to the old code), but if possible I would like to see what Apple does with ps before actually generating a pull request.