[fpc-pascal] Error Message recording not yet supported

Joao Morais l at joaomorais.com.br
Wed Jan 14 22:11:15 CET 2015

On 14/01/15 12:40, Pierre Free Pascal wrote:
>    Hi all,
>    from looking at the source code and the commit,
> it does appear to be some error..
>    The corresponding code that stores the message list
> generates an internal error if the number of message is more than 255.
>    So that the two lines
>    if mesgnb>0 then
>      Comment(V_Error,'Message recordind not yet supported');
> are probably just some wrong leftover.
>    The only problem is that we probably have no test
> for this.
>    You can try to comment out these two lines and report
> if this fixes your problem.

I can confirm that removing such lines from the scanner solves the 
problem. Compiler messages also behaves as expected -- without warn 5024.

More information about the fpc-pascal mailing list