Hello,
look at this bugreport. I reported it as a Lazarus issue but now it looks like
FPC trunk issue.
https://bugs.freepascal.org/view.php?id=37856
Vojtech aka Blaazen
______________________________________________________________
Od: "C Western via fpc-pascal" <[email protected]>
Komu: [email protected]
Datum: 12.11.2020 09:30
Předmět: Re: [fpc-pascal] Access Violation on second compile with FPC Text IDE
On 11/11/2020 22:26, James Richters via fpc-pascal wrote:
> I'm suddenly getting an access violation when compiling after a file changed
with the FPC text IDE:
>
> Recompiling because of I:\Programming\Gcode\Mill\pastep.pas
> sysinit.pp(0) Error: Compilation raised exception internally
> Error: Compiler exited
> Error: Access violation
>
> I haven't changed anything as far as FPC goes, and I'm using the same
procedure I always have.. I make my edits in notepad++ then go to the text IDE and
compile it.. it detects which files changed and re-compiles those.. it normally
works fine, but now I am always getting this. I restart the text IDE and compile
it and run it and it's fine.. no problems, I make even a minor change, and try to
re-compile it and bam I get this access violation error. Does anyone know what
this error actually means or how to track it down?
>
Is this with a recent trunk? I have started seeing this recently; an
interface change in one unit causes a crash when compiling another unit.
The workaround is to force recompilation of everything, which I do by
deleting all the compiled files for the program. It is tricky to report
as a bug, as it is intermittent, and I have only seen it on a large program.
Colin
_______________________________________________
fpc-pascal maillist - [email protected]
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
<https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal>
_______________________________________________
fpc-pascal maillist - [email protected]
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal