[fpc-pascal] Error format question

Florian Klämpfl florian at freepascal.org
Sat Apr 11 15:12:58 CEST 2020


Am 11.04.20 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

I fixed this for trunk. You can very easily test and see what gcc 
outputs to verify what's correct.


More information about the fpc-pascal mailing list