Frank Heckenbach schrieb:
However, I don't doubt that FPC works this way. I just pointed out that this doesn't conform to Pascal syntax rules (and that this doesn't matter for FPC),
It does, a standard isn't defined only by some bureaucrats but also by what people use and I guess 99 per cent of the pascal langauage family programmers use Delphi styled Object Pascal so this narrows it down.
because whatever the compiler does internally, or which ABI it follows, according to Pascal rules, the identifier "t" is the same as "T", thus the two declarations are exactly the same,
They don't exist anyways in the pascal sense because pascal doesn't support external to my knowledge.
and thus any well-defined (in the mathematical sense)
Only a closed system can follow mathematical rules and with the cdecl; external; and using C code in your program you open your pascal closed system.
behaviour must be the same for both.