[fpc-pascal] Fwd: Linker error on simple program (windows)

Sven Barth pascaldragon at googlemail.com
Thu Jun 24 21:01:43 CEST 2021


Am 24.06.2021 um 19:06 schrieb Bart via fpc-pascal:
> On Thu, Jun 24, 2021 at 11:10 AM Sven Barth <pascaldragon at googlemail.com> wrote:
>
>> Thus for 3.2.0 and 3.2.2 you indeed need to use the workarounds you mentioned.
> Not a problem.
> It just surprised me.
>
> Will this be fixed in 3.2.4?

It's not even sure if there will be a 3.2.4 with the migration to Git.

> (The linker error is a bug IMO, compilation should have failed with a
> sensible message)
No, the linker error is not a bug, that is exactly what should happen 
given the symptoms. What should have happened is that the compiler does 
not inline the function, because the overload is not reachable from outside.

Regards,
Sven


More information about the fpc-pascal mailing list