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

Owner: Nobody in particular
Requestors: wyant [...]

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

Subject: os/darwin.h includes deprecated .h file
Download (untitled) / with headers
text/plain 1.1k
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/ 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.

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to