Sign in Join

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

Mailing lists / fpc-devel / 2001-03

fpchrc compiles incorecclty on 1.1 [2001/03/07]

4 messages · 4 people · –

Reply by email Subscribe to this list Your subscription

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

Aleksey V. Vaneev

Hello,

Unit I wrote (fpchrc) don't want to work properly if compiled on 1.1 compiler. However works nicely on 1.0.5.

I think it's all because of using inline; directive, but anyways it's strange...

The link is:
ftp://ftp.mosfilm.ru/pub/fpc/russian/fpchrc.rar

Best regards,
Aleksey

Michail A.Baikov
to Aleksey V. Vaneev

Mirror temporarly closed ... only temporarly ... WAR WITH PROFTPD!! :-E :)

Earlier message 26 lines
----- Original Message ----- From: "Aleksey V. Vaneev" To: Sent: Wednesday, March 07, 2001 8:54 PM Subject: [fpc-devel]fpchrc compiles incorecclty on 1.1 [2001/03/07] > Hello, > > Unit I wrote (fpchrc) don't want to work properly if compiled on > 1.1 compiler. However works nicely on 1.0.5. > > I think it's all because of using inline; directive, but anyways > it's strange... > > The link is: > ftp://ftp.mosfilm.ru/pub/fpc/russian/fpchrc.rar > > Best regards, > Aleksey > > > > _______________________________________________ > fpc-devel maillist - > http://lists.freepascal.org/mailman/listinfo/fpc-devel
Jonas
Aleksey V. Vaneev wrote 6 lines
Unit I wrote (fpchrc) don't want to work properly if compiled on 1.1 compiler. However works nicely on 1.0.5. I think it's all because of using inline; directive, but anyways it's strange...

I should work correctly now. Peter fixed a bug regarding the handling of parameters and local variables in assembler blocks of inlined procedures. The bug was in both 1.0.5 and 1.1, so it was probably just coincidence it worked correctly under the former version.

Jonas

Peter Vreman
Show quoted text 7 lines
> Unit I wrote (fpchrc) don't want to work properly if compiled on > 1.1 compiler. However works nicely on 1.0.5. > > I think it's all because of using inline; directive, but anyways > it's strange... I should work correctly now. Peter fixed a bug regarding the handling of parameters and

local variables in assembler blocks of inlined procedures. The bug was in both 1.0.5 and 1.1, so it was probably just coincidence it worked correctly under the former version.

It worked with 1.0.4, becuase 1.0.4 doesn't check the the assembler instructions in the assembler blocks.