Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2006-09

Updating to 2.0.4 bugreport

2 messages · 2 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Rainer Stratmann

Hello,

the update on 2.0.4 shows some bugs:

var dirstr:string

getdir(0,dirstr);  // <- not works (on linux), the result is a string with
length 0

The Compiler switch "Use register-variables" (switch off state) seems not to work.
There is an error with involved asm code.
If at the "end;" statement at asm routines the registers are named then the program works correct.

In version 2.0.2 it worked without naming the registers.

Textmode IDE: at the end of a linux program the textmode ide is in trouble.

Rainer

Jonas Maebe
to Rainer Stratmann
Rainer Stratmann wrote 11 lines
the update on 2.0.4 shows some bugs: var dirstr:string getdir(0,dirstr); // <- not works (on linux), the result is a string with length 0 The Compiler switch "Use register-variables" (switch off state) seems not to work.

Please report bugs using http://www.freepascal.org/mantis/, and always supply a compilable test program (not just one or two lines of code) and the necessary compiler switches to reproduce the problem.

Jonas