[fpc-devel] Small Wstrings problem

Peter Vreman peter at freepascal.org
Mon Jun 27 11:38:42 CEST 2005


> Martin Schreiber wrote:
>> On Sunday 26 June 2005 20.07, Florian Klaempfl wrote:
>>
>>
>>>I didn't merge the widestring memory handling to fixes and it wasn't
>>>wrong to do so, see the current failures :)
>>
>>
>> They don't work with checkpointer (see bug report 4125).
>
> Anybody a suggestion how we should handle this? There was a bug report
> (http://www.freepascal.org/bugs/showrec.php3?ID=2423) that FPC causes
> problems
> when working with variants and widestrings and passing them to windows.

Move all FPC_CHECKPOINTER calls to a function tcg.maybe_checkpointer()
that also requires a tdef as argument. Make an exception for
tdef=widestring under windows.







More information about the fpc-devel mailing list