Re: [fpc-pascal] Error: compilation raised exception internally (Rafael Picanço)

2023-10-22 Thread Rafael Picanço via fpc-pascal
z) >2. Re: Error: compilation raised exception internally (Sven Barth) > > > -- > > Message: 1 > Date: Sat, 21 Oct 2023 19:18:55 +0200 > From: Thomas Kurz > To: FPC-Pascal users discussions > Subject: Re: [fp

Re: [fpc-pascal] Error: compilation raised exception internally

2023-10-21 Thread Sven Barth via fpc-pascal
Thomas Kurz via fpc-pascal schrieb am Sa., 21. Okt. 2023, 19:22: > > An exception or an internal error during compilation should *always* be > > reported. > > Please also provide a minimal, self contained example that shows the > > problem. > > This is not always trivial because the internal

Re: [fpc-pascal] Error: compilation raised exception internally

2023-10-21 Thread Thomas Kurz via fpc-pascal
> An exception or an internal error during compilation should *always* be > reported. > Please also provide a minimal, self contained example that shows the > problem. This is not always trivial because the internal errors are sometimes quite fiddly. I have a project in which an internal error

Re: [fpc-pascal] Error: compilation raised exception internally

2023-10-21 Thread Sven Barth via fpc-pascal
Rafael Picanço via fpc-pascal schrieb am Sa., 21. Okt. 2023, 02:50: > Hi everyone, > > I am getting a strange error when compiling a project. I am really not > sure what is going on, because it occurs sometimes, consistently in some > lines of the code with calls to this static variable: > ... >

[fpc-pascal] Error: compilation raised exception internally

2023-10-20 Thread Rafael Picanço via fpc-pascal
Hi everyone, I am getting a strange error when compiling a project. I am really not sure what is going on, because it occurs sometimes, consistently in some lines of the code with calls to this static variable: ... function NextID(ID : word) : word; ... NextID(ContainerClass.SomeTypeInstance.ID)