Visual D cutting off pragma msg?

Rainer Schuetze via Digitalmars-d-ide digitalmars-d-ide at puremagic.com
Sun Apr 2 23:39:50 PDT 2017



On 02.04.2017 21:12, Inquie wrote:
> Sometimes when I compile certain long pragmas it seems that Visual D
> cuts off some of the output. This occurred in both dmd and ldc so I do
> not think it is a compiler issue.

Both compilers share the same front end, and pragma(msg) is evaluated 
there, so it could still happen in the compiler.

>
> It has only recently been doing this as far as I know. It may be due to
> the build time being output too soon(before it's really finished output
> the message) and/or due to the visual studio 2017.
>
> It's not easily reproducible but is pretty consistent when the same
> output is displayed. (I know it's cutting it off because the pragma msg
> is also written to disk and it is complete in the file)
>

Do you have an example for reproduction? I tried messages of different 
lengths (up to 100017) but could not see a problem.

How do you write the message to disk at the same time? Or do you mean 
the build log?


More information about the Digitalmars-d-ide mailing list