www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 20788] New: Difference between colored and non colored output


          Issue ID: 20788
           Summary: Difference between colored and non colored output
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: dmd
          Assignee: nobody puremagic.com
          Reporter: andre s-e-a-p.de

The dmd output text is different depending whether color output is on or off.


void main()
    int i;
    e = 3;

Color on:
sample.d(4): Error: undefined identifier e

Color off:
sample.d(4): Error: undefined identifier `e`

This is an issue if you want to use the dmd output for dustmite.
Color is on by default and very often I forgot, that I cannot just
use the output of dub (dmd) but have to disable colored output.

The dmd output text should be the same, independent whether color is
on or off.

Apr 29 2020