Re: [fpc-devel] Error: Global Generic template references static symtable

2021-01-11 Thread Sven Barth via fpc-devel
Bart via fpc-devel schrieb am Mo., 11. Jan. 2021, 03:42: > On Sun, Jan 10, 2021 at 11:59 AM Sven Barth via fpc-devel > wrote: > > > Displaying the message at the correct location would be more involved... > > you might want to open a bug report for that so that it's remembered > > somewhere, but

Re: [fpc-devel] Error: Global Generic template references static symtable

2021-01-10 Thread Bart via fpc-devel
On Sun, Jan 10, 2021 at 11:59 AM Sven Barth via fpc-devel wrote: > Displaying the message at the correct location would be more involved... > you might want to open a bug report for that so that it's remembered > somewhere, but it's definitely going to be a low priority one. https://bugs.freepas

Re: [fpc-devel] Error: Global Generic template references static symtable

2021-01-10 Thread Sven Barth via fpc-devel
Am 09.01.2021 um 16:21 schrieb Bart via fpc-devel: The *why* is not important for users. Those that are interested can ask, just like you did. Then let me rephrase it. Error messages of the compiler normally point you in the right direction like: qtest.lpr(367,3) Fatal: Syntax error, ";" e

Re: [fpc-devel] Error: Global Generic template references static symtable

2021-01-09 Thread Bart via fpc-devel
On Sat, Jan 9, 2021 at 12:00 PM Sven Barth via fpc-devel wrote: > Right click the error message in Lazarus, then click "Help". For me a dialog > with the following text appeared: Hah! Learned something new today! > The *why* is not important for users. Those that are interested can ask, just >

Re: [fpc-devel] Error: Global Generic template references static symtable

2021-01-09 Thread Sven Barth via fpc-devel
Bart via fpc-devel schrieb am Sa., 9. Jan. 2021, 05:17: > On Fri, Jan 8, 2021 at 9:00 PM Sven Barth via fpc-devel > wrote: > > >> It seems I cannot use a stand-alone function that is declared in the > >> implementation of the unit? > > > Generics are a stream of tokens that is reparsed when spec

Re: [fpc-devel] Error: Global Generic template references static symtable

2021-01-08 Thread Bart via fpc-devel
On Fri, Jan 8, 2021 at 9:00 PM Sven Barth via fpc-devel wrote: >> It seems I cannot use a stand-alone function that is declared in the >> implementation of the unit? > Generics are a stream of tokens that is reparsed when specialized. Functions > declared in the implementation section are simpl

Re: [fpc-devel] Error: Global Generic template references static symtable

2021-01-08 Thread Sven Barth via fpc-devel
Bart via fpc-devel schrieb am Fr., 8. Jan. 2021, 20:07: > It seems I cannot use a stand-alone function that is declared in the > implementation of the unit? > Correct. Why is that? > Generics are a stream of tokens that is reparsed when specialized. Functions declared in the implementation sec