<div dir="auto"><div>It is really not related to specific lines. But sometimes the error will repeat a lot on some lines.</div><div dir="auto"><br></div><div dir="auto">Please, can you confirm if a zip file containing the project it self is a minimal valid example? (I am afraid that changing the trying to simplify the project will "solve" the error).</div><div dir="auto"><br></div><div dir="auto">With some more specific instructions, I can try to figure out how to build an as minimal as possible example.</div><div dir="auto"><br></div><div dir="auto">Best,</div><div dir="auto">R<br><br><div class="gmail_quote" dir="auto"><div dir="ltr" class="gmail_attr">Em dom., 22 de out. de 2023 07:00,  <<a href="mailto:fpc-pascal-request@lists.freepascal.org">fpc-pascal-request@lists.freepascal.org</a>> escreveu:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Send fpc-pascal mailing list submissions to<br>
        <a href="mailto:fpc-pascal@lists.freepascal.org" target="_blank" rel="noreferrer">fpc-pascal@lists.freepascal.org</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
        <a href="https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal" rel="noreferrer noreferrer" target="_blank">https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal</a><br>
or, via email, send a message with subject or body 'help' to<br>
        <a href="mailto:fpc-pascal-request@lists.freepascal.org" target="_blank" rel="noreferrer">fpc-pascal-request@lists.freepascal.org</a><br>
<br>
You can reach the person managing the list at<br>
        <a href="mailto:fpc-pascal-owner@lists.freepascal.org" target="_blank" rel="noreferrer">fpc-pascal-owner@lists.freepascal.org</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of fpc-pascal digest..."<br>
<br>
<br>
Today's Topics:<br>
<br>
   1. Re:  Error: compilation raised exception internally (Thomas Kurz)<br>
   2. Re:  Error: compilation raised exception internally (Sven Barth)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Sat, 21 Oct 2023 19:18:55 +0200<br>
From: Thomas Kurz <fpc.2021@t-net.ruhr><br>
To: FPC-Pascal users discussions <<a href="mailto:fpc-pascal@lists.freepascal.org" target="_blank" rel="noreferrer">fpc-pascal@lists.freepascal.org</a>><br>
Subject: Re: [fpc-pascal] Error: compilation raised exception<br>
        internally<br>
Message-ID: <<a href="mailto:1201074545.20231021191855@smtp.mailbox.org" target="_blank" rel="noreferrer">1201074545.20231021191855@smtp.mailbox.org</a>><br>
Content-Type: text/plain; charset=us-ascii<br>
<br>
> An exception or an internal error during compilation should *always* be<br>
> reported.<br>
> Please also provide a minimal, self contained example that shows the<br>
> problem.<br>
<br>
This is not always trivial because the internal errors are sometimes quite fiddly. I have a project in which an internal error occurs sometimes. When I do a "cleanup and build" (in Lazarus), it works well. There seems to be an influence of the order in which units are compiled, because I can change code in many places without getting the internal error again. But when I change code in other units, I get the internal error, but it's clearly uncorrelated to the line at which it occurs.<br>
<br>
<br>
<br>
------------------------------<br>
<br>
Message: 2<br>
Date: Sat, 21 Oct 2023 22:25:45 +0200<br>
From: Sven Barth <<a href="mailto:pascaldragon@googlemail.com" target="_blank" rel="noreferrer">pascaldragon@googlemail.com</a>><br>
To: FPC-Pascal users discussions <<a href="mailto:fpc-pascal@lists.freepascal.org" target="_blank" rel="noreferrer">fpc-pascal@lists.freepascal.org</a>><br>
Subject: Re: [fpc-pascal] Error: compilation raised exception<br>
        internally<br>
Message-ID:<br>
        <CAFMUeB8azQR1k6HMckxWQ82eMgavEvzZk4yZD=<a href="mailto:FUW3hpBkMfTg@mail.gmail.com" target="_blank" rel="noreferrer">FUW3hpBkMfTg@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
Thomas Kurz via fpc-pascal <<a href="mailto:fpc-pascal@lists.freepascal.org" target="_blank" rel="noreferrer">fpc-pascal@lists.freepascal.org</a>> schrieb am<br>
Sa., 21. Okt. 2023, 19:22:<br>
<br>
> > An exception or an internal error during compilation should *always* be<br>
> > reported.<br>
> > Please also provide a minimal, self contained example that shows the<br>
> > problem.<br>
><br>
> This is not always trivial because the internal errors are sometimes quite<br>
> fiddly. I have a project in which an internal error occurs sometimes. When<br>
> I do a "cleanup and build" (in Lazarus), it works well. There seems to be<br>
> an influence of the order in which units are compiled, because I can change<br>
> code in many places without getting the internal error again. But when I<br>
> change code in other units, I get the internal error, but it's clearly<br>
> uncorrelated to the line at which it occurs.<br>
><br>
<br>
Without a way to reproduce and debug the issue it's very unlikely to get<br>
solved especially if it's a problem that only occurs in very specific<br>
circumstances.<br>
<br>
Regards,<br>
Sven<br>
<br>
><br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20231021/18bacdcf/attachment-0001.htm" rel="noreferrer noreferrer" target="_blank">http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20231021/18bacdcf/attachment-0001.htm</a>><br>
<br>
------------------------------<br>
<br>
Subject: Digest Footer<br>
<br>
_______________________________________________<br>
fpc-pascal maillist  -  <a href="mailto:fpc-pascal@lists.freepascal.org" target="_blank" rel="noreferrer">fpc-pascal@lists.freepascal.org</a><br>
<a href="https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal" rel="noreferrer noreferrer" target="_blank">https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal</a><br>
<br>
<br>
------------------------------<br>
<br>
End of fpc-pascal Digest, Vol 232, Issue 12<br>
*******************************************<br>
</blockquote></div></div></div>