I was doing a "make distclean all". I did do a "make clean" at one point,
and a "make clean" and "make distclean" on just the compiler directory to
be sure, but that didn't work either. I'm not quite sure how doing "del
/s *.o", "del /s *.a" and "del /s *.ppu" fixed it, but it's fixed now.
The
J. Gareth Moreton schrieb am Fr., 1. Juni 2018,
21:02:
> It seems to have been fixed now after I did a manual deletion of all .o
> and .ppu files. Not sure what that was all about. Sorry to waste anyone's
> time - emergency over.
Just to be sure: you are doing a "make clean all" at the top
Hello,
is there any reason the OnShowException event is ignored for console
applications?
Why not so:
procedure ShowException(ExceptObject: TObject; ExceptAddr: Pointer);
// use shortstring. On exception, the heap may be corrupt.
Var
Buf : ShortString;
begin
It seems to have been fixed now after I did a manual deletion of all .o
and .ppu files. Not sure what that was all about. Sorry to waste
anyone's time - emergency over.
Gareth aka. Kit
On Fri 01/06/18 18:35 , "J. Gareth Moreton" gar...@moreton-family.com
sent:
Okay, it probably is just
Okay, it probably is just me, because it happens even on a branch that I
haven't merged with the main repository yet. I have no idea how to fix
this though. Any ideas? A full distclean of the main FPC directory and
the compiler doesn't do anything.
Gareth aka. Kit
On Fri 01/06/18 18:24 ,
Hi everyone,
I think the latest version of the compiler on SVN is broken. I tried
getting a clean copy from the repository, but running the script fails with
the following on x86_64-win64:
system.pp(123,5) Error: Asm: [sub reg64,imm8s] invalid combination of
opcode and operands
Aah, thank you. That clears things up.
Hooray for documentation! It's the same as
suspected and listed below.
(and I noticed a mistake. I meant to say
only if the numerator (left-hand side
operand) is negative, not positive)
Gareth aka. Kit
On Fri 01/06/18 12:42 , "Christo Crause"
On Fri, Jun 1, 2018 at 11:13 AM, J. Gareth Moreton <
gar...@moreton-family.com> wrote:
> Hi everyone,
>
> I'm starting to make some modifications to the optimizer so it optimises
> div and mod operations on signed integers (I've done unsigned integers
> already). One question that I've stumbled
Hi everyone,
I'm starting to make some modifications to the optimizer so it optimises
div and mod operations on signed integers (I've done unsigned integers
already). One question that I've stumbled across... what are the rules
regarding the sign of the result? Experimenting with IDIV suggests