Re: [fpc-devel] Regarding CheckIn #23944

2013-03-29 Thread kyan
On Thu, Mar 28, 2013 at 10:10 PM, Sven Barth wrote: > > Addition: It also does not compile if you do "static; inline;", so I > consider this definitely a bug in the Delphi compiler... > Agreed. Same behaviour in Delphi XE3 by the way. ___ fpc-devel mai

[fpc-devel] Type helpers in delphi mode

2013-03-29 Thread Anthony Walter
In the latest trunk of fpc are their any plans to allow for type helpers and {$mode delphi}? I ask this because I want to mix in a single unit both the delphi style generics and type helpers and it seems that this is currently not supported. Also, is there a single online 'living' reference every

Re: [fpc-devel] Type helpers in delphi mode

2013-03-29 Thread Jonas Maebe
On 29 Mar 2013, at 15:02, Anthony Walter wrote: Also, is there a single online 'living' reference everyone is maintaining to describe both old and new languages features in the current build? http://wiki.freepascal.org/FPC_New_Features_Trunk and the corresponding pages for previous releas

[fpc-devel] float128 to ascii

2013-03-29 Thread Adriaan van Os
Writeln doesn't accept clongdouble on Mac OS X PowerPC, so I am looking for code that converts a 128-bit floating-point number to ascii. I think, that would be the Pascal equivalent of e113toasc . Regards, Adriaan van Os __

Re: [fpc-devel] Type helpers in delphi mode

2013-03-29 Thread Anthony Walter
Regarding my original question, the according to the wiki page (which is now working), delphi mode can use record helper instead of type helper, and that seems to function correctly. About the wiki page itself, I think it's missing some new features. I believe type constraints on generics is new,

Re: [fpc-devel] Type helpers in delphi mode

2013-03-29 Thread Jonas Maebe
On 29 Mar 2013, at 17:50, Anthony Walter wrote: > About the wiki page itself, I think it's missing some new features. I > believe type constraints on generics is new, and I don't see it on the > wiki. Which leads to me believe there could be other unlisted fpc language > enhancements, of which I

Re: [fpc-devel] Type helpers in delphi mode

2013-03-29 Thread Sven Barth
Am 29.03.2013 17:50 schrieb "Anthony Walter" : > > Regarding my original question, the according to the wiki page (which is now working), delphi mode can use record helper instead of type helper, and that seems to function correctly. As you noticed you need to use "record helper" out if Delphi co