-v for error only

DigitalDesigns DigitalDesigns at gmail.com
Tue Jun 19 08:40:03 UTC 2018


There needs to be a switch, if their isn't one already, where 
only errors are verbose.

When I use the -v switch it not only expands the error trace like 
it should but also adds all kinds of additional meaningless 
info(semantic3, module list, etc). All this additional 
information is generally useless and obscures the main point of 
using -v which is to get a deeper error trace.

When doing a lot of compile time work and using pragma msg, it 
can make things worse.

It would be nice if there was something in between the two 
extremes: Only shows longer error traces and only most important 
compiler verbosity. Better yet, implement a verbosity level -v1, 
..., -v9 give 9 zones and one can enable any number of zones 
-v158 enables the errors for zones 1 5 and 8. Could use hex for 
more zones: -v14aef.

Anyways, I guess it's more of a dream feature...





More information about the Digitalmars-d mailing list