Re: [fpc-pascal] New Arc attempt

2016-08-02 Thread Maciej Izak
2016-08-02 11:43 GMT+02:00 leledumbo : > Just came across this on my fb timeline: > https://pascal.today/2016/08/01/arc-for-non-managed-types/ > would be interesting for gc lovers. WARNING: the given code there doesn't > compile with FPC, even on trunk > Nothing new.

[fpc-pascal] String concatenation failure (again)

2016-08-02 Thread Jürgen Hestermann
I just came accross another issue of string concatenation within my program that worked okay before FPC 3 but fails after updating to FPC 3. I had not used this function since the update so I found the problem only now (by accident): -- type MyStringType =

Re: [fpc-pascal] String concatenation failure (again)

2016-08-02 Thread Jürgen Hestermann
Am 2016-08-02 um 12:25 schrieb Jürgen Hestermann: > -- > type MyStringType = string; > var S : MyStringType; > Liste : array of MyStringType; > i : SizeInt; > > begin > [..] // "Liste" is setup with many string entries (which are also shown

Re: [fpc-pascal] New Arc attempt

2016-08-02 Thread leledumbo
> In FPC (branch for smart pointers) we have own much faster implementation (based on the default field): > > https://github.com/maciej-izak/PascalSmartPointers > > which is usable also for nullable types. I think I've seen this before, but never really dig in to the implementation. -- View

Re: [fpc-pascal] String concatenation failure (again)

2016-08-02 Thread José Mejuto
El 02/08/2016 a las 16:51, Jürgen Hestermann escribió: I would expect that with the new string encoding handling widestring will be converted automatically to "MyStringType" (which is string in my case). This assumption is encouraged by the fact that "Liste" is shown with the correct list of