[fpc-devel] seems like a bug in strtobool

Bartek bbartek at gmx.net
Tue Jan 24 23:02:19 CET 2006


hi,

Is this a bug, or am i doing something wrong?

// 8< -------------
program bug;
uses SysUtils;

begin
strtobool('true');
end.
// 8< -------------
results in:

// 8< -------------
ddaedalus at bartek /cygdrive/e/temp
$ bug
An unhandled exception occurred at $00406DCF :
EInvalidOp : Invalid floating point operation
  $00406DCF
// 8< -------------

besides:
how do compile the fpc/Lazarus sources, that gdb and lineinfo is shown.
( modifying fpc.cfg to compile always with -gl didn't work :/ )

bartek



More information about the fpc-devel mailing list