[fpc-pascal] Error format question
Sven Barth
pascaldragon at googlemail.com
Sat Apr 11 14:52:39 CEST 2020
Am 11.04.2020 um 08:11 schrieb Ryan Joseph via fpc-pascal:
> Sorry to ask this yet again but I keep forgetting or remembering wrong. I thought this was a one time error that was fixed but I'm still getting different error formats with the trunk (as of today) vs 3.0.4.
>
> Can anyone please confirm which it the correct format I should rely on?
>
>
> Ryans-MacBook-Pro-2:~ ryanjoseph$ fpc -vbr /Users/ryanjoseph/Developer/Projects/FPC/Various/stratch_pad.pas
> Free Pascal Compiler version 3.0.4 [2018/09/30] for x86_64
> Copyright (c) 1993-2017 by Florian Klaempfl and others
> Target OS: Darwin for x86_64
> Compiling /Users/ryanjoseph/Developer/Projects/FPC/Various/stratch_pad.pas
> /Users/ryanjoseph/Developer/Projects/FPC/Various/stratch_pad.pas:6: error: 1: Identifier not found "f"
> /Users/ryanjoseph/Developer/Projects/FPC/Various/stratch_pad.pas:7: error: 4: There were 1 errors compiling module, stopping
> error: Compilation aborted
> Ryans-MacBook-Pro-2:~ ryanjoseph$ /usr/local/lib/fpc/3.3.1/ppcx64 -vbr /Users/ryanjoseph/Developer/Projects/FPC/Various/stratch_pad.pas
> Free Pascal Compiler version 3.3.1 [2020/04/11] for x86_64
> Copyright (c) 1993-2020 by Florian Klaempfl and others
> Target OS: Darwin for x86_64
> Compiling /Users/ryanjoseph/Developer/Projects/FPC/Various/stratch_pad.pas
> /Users/ryanjoseph/Developer/Projects/FPC/Various/stratch_pad.pas:6:1: error: Identifier not found "f"
> /Users/ryanjoseph/Developer/Projects/FPC/Various/stratch_pad.pas:7:4: error: There were 1 errors compiling module, stopping
> error: Compilation aborted
Found the cause:
https://svn.freepascal.org/cgi-bin/viewvc.cgi?view=revision&revision=43769
As this is the error output when rhide/GCC compatible error output is
given (-vr), it probably did not work correctly with tools that rely on
the order before that change.
Regards,
Sven
More information about the fpc-pascal
mailing list