Same problem exists for trace_setlogfilename(string name) and trace_setdeffilename(string name).
Also the latter ones can't handle empty strings to use stdout as output.
Comment #1 by d.bugs — 2023-03-22T02:27:01Z
seems to have been fixed on master for a while, profilegc actually regressed in not working with stdout anymore, but the fix for that is open here: https://github.com/dlang/dmd/pull/15018
Comment #2 by dlang-bot — 2023-03-22T14:50:37Z
@WebFreak001 updated dlang/dmd pull request #15018 "fix 14891: fix profilgc to stdout not working" fixing this issue:
- Fix issue 14891 - profilgc to stdout not working
Improves error message for diagnostics and tests it
https://github.com/dlang/dmd/pull/15018
Comment #3 by dlang-bot — 2023-03-22T15:55:55Z
dlang/dmd pull request #15018 "fix 14891: fix profilgc to stdout not working" was merged into master:
- 247b524f83c9d83fc5afa2bbdc670479b68b2ea3 by WebFreak001:
Fix issue 14891 - profilgc to stdout not working
Improves error message for diagnostics and tests it
https://github.com/dlang/dmd/pull/15018