Re: [fpc-devel] RTTI module and "IsManaged" critical problem

2016-12-09 Thread Maciej Izak
5. Super slowly checking for each field in ManagedFields, and eventually new checking for each record in ManagedFields... I am so sad that I need to post this point :\ -- Best regards, Maciej Izak ___ fpc-devel maillist -

Re: [fpc-devel] RTTI module and "IsManaged" critical problem

2016-12-09 Thread Sven Barth
On 09.12.2016 22:57, Maciej Izak wrote: > Hi, > > thanks Sven, finally we have initial RTTI.pas version on trunk. Let me > start with first serious issue and eventually patch: > > function IsManaged(TypeInfo: PTypeInfo): boolean; > > IsManaged can't work with records because we need know

Re: [fpc-devel] FPC internal linker issues with Win64 .a startic-link libraries by GCC newer than 4.8.1

2016-12-09 Thread Maciej Izak
2016-09-18 2:31 GMT+02:00 Benjamin Rosseaux : > i've noticed a weakness of the FPC internal linker at static-linking .a > libraries on the Win64 target, which're generated by GCC newer than 4.8.1, > due to the new refptr.* and .refptr.* symbols-can-be-multiple-defined >

Re: [fpc-devel] FPC internal linker issues with Win64 .a startic-link libraries by GCC newer than 4.8.1

2016-12-09 Thread Sven Barth
Am 09.12.2016 10:32 schrieb "Maciej Izak" : > > > 2016-09-18 2:31 GMT+02:00 Benjamin Rosseaux : >> >> i've noticed a weakness of the FPC internal linker at static-linking .a libraries on the Win64 target, which're generated by GCC newer than 4.8.1, due to

Re: [fpc-devel] Improved RTTI compromise

2016-12-09 Thread Maciej Izak
2016-12-09 21:53 GMT+01:00 Sven Barth : > Also when you have extended the unit and provide your changes: please > use baby steps, not one big patch to rule them all ;) > Thanks for tips for tests. I will start new topic - we need to discuss one critical aspect... --

Re: [fpc-devel] Improved RTTI compromise

2016-12-09 Thread Sven Barth
On 07.12.2016 11:31, Maciej Izak wrote: > Okay then, maybe I'll manage that this week (no promise though ;) ). > I personally think that removing TRttiContext for now is the better > choice, so people will know not to use it while they might expect valid > values in the other

Re: [fpc-devel] FPC black list details

2016-12-09 Thread Maciej Izak
2016-12-08 13:04 GMT+01:00 Jonas Maebe : > > The problem is that the bug report is about resolving calls specific to > Objective-Pascal, which is only supported (and hence tested) on > Darwin-based platforms by FPC (Mac OS X/OS X/macOS, iOS). So your testing > probably

[fpc-devel] RTTI module and "IsManaged" critical problem

2016-12-09 Thread Maciej Izak
Hi, thanks Sven, finally we have initial RTTI.pas version on trunk. Let me start with first serious issue and eventually patch: function IsManaged(TypeInfo: PTypeInfo): boolean; IsManaged can't work with records because we need know managed fields count (in Delphi when ManagedFldCount is bigger