www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 18404] New: Allow selective printing of -vgc output


          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 puremagic.com
          Reporter: bachmeil yahoo.com

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

Based on this post:

"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.

Feb 08 2018