[fpc-devel] Compiler message colour scheme

Tomas Hajny XHajT03 at hajny.biz
Tue Nov 24 23:52:01 CET 2020

On 2020-11-24 19:17, J. Gareth Moreton via fpc-devel wrote:
> Sorry for being a bit slow - I've been doing my own work on x86. I
> gave your patch (and new file) a test run on x86_64-win64, and that
> seems to work fine.  At least the warning messages in the packages
> appear magenta.  I'll give arm-linux a test next.

No problem, thanks for testing. Unfortunately, it doesn't work for me 
under Windows (Win 10 Pro 64-bit) either with the original version or 
with my modifications (i.e. hopefully unrelated to my changes). It could 
be some configuration of the used Windows installation, whatever, no 
idea. I'll probably commit my changes now hoping that I didn't break 
anything for anybody for whom it worked correctly previously. The GO32v2 
version was not compilable in the sent version, fixed now and tested to 
work properly (apparently, coloured output using ANSI escape codes works 
more reliably with 16-bit MS-DOS/PC DOS/... than with 64-bit MS Windows 
10 Pro ;-) ). And BTW, no, it doesn't work under DOSBox, because DOSBox 
supports ANSI escape codes out of the box without signalizing that such 
support is available in a way compatible to the real DOS. I could add a 
specific check for running under DOSBox if somebody wants it (it's just 
a few more lines of code, no difficulties).


More information about the fpc-devel mailing list