I have the same problem after upgrade to 3.2.0, 3.0.4 is all good.
In my program, when free a TStringList that used in a thread, exception occurs
in 80%~90% time.
I try to finger out what happening and got fpc_ansistr_decr_ref calling FreeMem
then got wrong memory.
The program was x86-64 on Wind
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
On Sun, Oct 4, 2020 at 1:49 PM Christo Crause
wrote:
> FPC can use the section modifier to specify which address space should be
> used for data.
>
I've made some progress in certain areas (basically static variables), the
following type of AVR code example works:
var
w: word = $BEEF; section
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
Hi,
While trying to solve https://bugs.freepascal.org/view.php?id=38306 I
got this error I have never seen before.
_gdeque.pp(249,4) Error: Global Generic template references static symtable
_gdeque.pp(302) Fatal: There were 1 errors compiling module, stopping
Fatal: Compilation aborted
Line 249
I only tested with 3.2.0 so far. Maybe someone recalls if this is fixed
or not.
Also because it seems to happen only in very rare conditions, it may be
that trunk does not cause it in this place even if the bug is not yet
fixed. (as other code changes could simply change the context enough to