[Issue 18404] New: Allow selective printing of -vgc output

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Feb 8 23:48:41 UTC 2018


https://issues.dlang.org/show_bug.cgi?id=18404

          Issue ID: 18404
           Summary: Allow selective printing of -vgc output
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: dmd
          Assignee: nobody at puremagic.com
          Reporter: bachmeil at yahoo.com

It is not practical to use -vgc to catch accidental gc allocations.

Based on this post:
https://www.reddit.com/r/programming/comments/7vw0gj/vanquish_forever_these_bugs_that_blasted_your/dtygfde/

"If you use no GC at all, anywhere, it can be helpful, yes.

If you rarely use GC (e.g: when throwing exceptions, because D makes it very
inconvenient not to use GC there, and it's less important), then you will
always get that as noise that's hard to filter out."

The user should have a way to exclude printing of some of the warnings.

--


More information about the Digitalmars-d-bugs mailing list