On Sat, 11 Apr 2020, Ryan Joseph via fpc-pascal wrote:
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
This is what I get:
araminta: ~ >fpc -vbr ti.pp
/Users/michael/ti.pp:8: error: 6: Incompatible type for arg no. 1: Got "ShortInt",
expected "{Open} Array Of SmallInt"
/Users/michael/ti.pp:9: error: 4: There were 1 errors compiling module, stopping
error: Compilation aborted
Error: /usr/local/bin/ppcx64 returned an error exitcode
araminta: ~ >ppcx64-3.0.4 -vbr ti.pp
/Users/michael/ti.pp:8: error: 6: Incompatible type for arg no. 1: Got "ShortInt",
expected "{Open} Array Of SmallInt"
/Users/michael/ti.pp:9: error: 4: There were 1 errors compiling module, stopping
error: Compilation aborted
My guess is you have a config file lying around that causes this to look
different (-Fr option?), or you have a custom-made errore.msg file built-in.
Try -var to see why.
Michael.
_______________________________________________
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal