[fpc-devel] 'with' operator in inlined functions

2005-10-12 Thread Ozerski Pavel
Hi all, It seems that an using the "with" operator inside of procedures/funcctions which are declared as inline causes AVs or internal errors (depend on compiler 2.x.x versions) at compiling stage. Is it a real problem? ___ fpc-devel maillist - fpc-

Re: [fpc-devel] linking with SDL libs fails.

2005-04-05 Thread Ozerski Pavel
Hello all, I submited now a bug report and would to do it also here. Compiler incorectly forms import names from single-char constants. In the sample below, then compiler adds to a function name not only 'A' but also an additional mistake symbol, at result the function cannot be found in the dll

[fpc-devel]a bug is found

2004-04-21 Thread Ozerski Pavel
I submitted a bug in the FPC bug list (as #3061). I would discuss it a little because now I write a stuff to radically solve problems with indexes export. Maybe, these two problems need to be solved as one complex? But I'm understandig that big changes in the compiler code may cause new problems.

[fpc-devel]string constant violation

2004-04-16 Thread Ozerski Pavel
Hello all, I got from a Russian FPC forum a sample that demonstrates a strang behavior. That is this sample: {$ifdef fpc} {$mode delphi} {$endif} {$apptype console} function Func(const S : string):string; begin Result := S; pchar(Result)^ := succ(pchar(result)^); end; var I : integer; begin f