Re: [fpc-devel] c-blocks (darwin aarch64)

2016-04-16 Thread Dmitry Boyarintsev
On Sat, Apr 16, 2016 at 8:18 PM, Sven Barth wrote: > Yes, because aside from the cdecl Delphi uses the same syntax for > anonymous function references, so we (aka Jonas) copied that for blocks. > Change request is made. http://bugs.freepascal.org/view.php?id=30023 (at least not to be forgotten)

Re: [fpc-devel] c-blocks (darwin aarch64)

2016-04-16 Thread Dmitry Boyarintsev
On Sat, Apr 16, 2016 at 8:18 PM, Sven Barth wrote: > Yes, because aside from the cdecl Delphi uses the same syntax for > anonymous function references, so we (aka Jonas) copied that for blocks. > Oh yes, that rings a bell, I remember an email about reusing anonymous functions syntax for forward

Re: [fpc-devel] c-blocks (darwin aarch64)

2016-04-16 Thread Sven Barth
Am 17.04.2016 01:25 schrieb "Dmitry Boyarintsev" : > > Aside question: Is syntax for blocks settled? at least for "reference to" part? > I'm eager to create Code Tools feature request. Yes, because aside from the cdecl Delphi uses the same syntax for anonymous function references, so we (aka Jonas

Re: [fpc-devel] c-blocks (darwin aarch64)

2016-04-16 Thread Dmitry Boyarintsev
Aside question: Is syntax for blocks settled? at least for "reference to" part? I'm eager to create Code Tools feature request. thanks, Dmitry ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/

Re: [fpc-devel] c-blocks (darwin aarch64)

2016-04-16 Thread Dmitry Boyarintsev
On Sat, Apr 16, 2016 at 5:42 PM, Jonas Maebe wrote: > > Yes, a test program that can be used to reproduce the bug (preferably > command line) > > even better! it's pure OSX (x86_64)! not need for iOS http://bugs.freepascal.org/view.php?id=30022 The sample is using block-based APIs of NSFileHandl

Re: [fpc-devel] c-blocks (darwin aarch64)

2016-04-16 Thread Jonas Maebe
> On 16 Apr 2016, at 21:35, Dmitry Boyarintsev > wrote: > > On Sat, Apr 16, 2016 at 3:05 PM, Jonas Maebe > wrote: >>> Using r33526, the app crashes with compiler native blocks at the same >>> spot (on calling set block handler) >> >> Can you share code that crashes? > > uses > .. GameCont

Re: [fpc-devel] c-blocks (darwin aarch64)

2016-04-16 Thread Dmitry Boyarintsev
On Sat, Apr 16, 2016 at 3:05 PM, Jonas Maebe wrote: > Using r33526, the app crashes with compiler native blocks at the same >> spot (on calling set block handler) >> > > Can you share code that crashes? uses .. GameController // from iOS headers procedure extendedGamePadChange(gamepad: GCExt

Re: [fpc-devel] c-blocks (darwin aarch64)

2016-04-16 Thread Jonas Maebe
Dmitry Boyarintsev wrote: On Fri, Apr 15, 2016 at 9:09 PM, Dmitry Boyarintsev mailto:skalogryz.li...@gmail.com>> wrote: I'm going to update to the latest FPC revision now. Using r33526, the app crashes with compiler native blocks at the same spot (on calling set block handler) Can you sha