Re: [fpc-pascal] odd compiling + linking error (with invalid casting of Exp)

2018-10-30 Thread Bart
On Mon, Oct 29, 2018 at 5:49 PM Dmitry Boyarintsev wrote: > It gives the linking error: > sample.pas(17,1) Error: Undefined symbol: > SYSTEM_::=::\_EXP$EXTENDED::=::\EXTENDED > sample.pas(17,1) Fatal: There were 1 errors compiling module, stopping Same with fpc trunk r39843. Bart _

[fpc-pascal] odd compiling + linking error (with invalid casting of Exp)

2018-10-29 Thread Dmitry Boyarintsev
I'm using 3.0.4 (win32), could any one try it on a later version of the compiler? The code i'm compiling looks like this: -- {$mode delphi} type Ttest = class(TObject) public Value: string; end; function Custom: extended; begin Result := 0; end; begin // writeln( TTest