Re: [fpc-devel] FPC 2.2.3 i386-darwin snapshot

2009-03-08 Thread Jonas Maebe
On 29 Sep 2008, at 01:48, Felipe Monteiro de Carvalho wrote: Could someone please upload 1 snapshot of the latest FPC 2.2.3 to ftp://ftp.freepascal.org/pub/fpc/snapshot/fixes/i386-macosx/ ? I would be imensely grateful. I am writing an article about PasCocoa and I need a fix for static

Re: [fpc-devel] FPC 2.2.3 i386-darwin snapshot

2009-03-08 Thread Jonas Maebe
On 08 Mar 2009, at 12:25, Jonas Maebe wrote: I.e., you cannot call one static class method from inside another one (removing the static makes it compile). This is fixed now in 2.3.1. Jonas ___ fpc-devel maillist -

Re: [fpc-devel] FPC 2.2.3 i386-darwin snapshot

2009-03-08 Thread Jonas Maebe
On 08 Mar 2009, at 14:06, dmitry boyarintsev wrote: Is there any actuall use of cdecl object methods? The problem is not the cdecl, but the static. And the use of these methods (with both static and cdecl) is that they behave exactly the same as regular C functions/procedures as far as

Re: [fpc-devel] FPC 2.2.3 i386-darwin snapshot

2009-03-08 Thread dmitry boyarintsev
yeah, i've seen description of 'static' usage at the mailing list (subj: crashing _self parameter) This is a new feature for FPC, right? (catching up with new delphi syntax?) a few questions about that: 1) 'static' methods are regular procedures/functions, but bound to a class rather than a unit?

Re: [fpc-devel] FPC 2.2.3 i386-darwin snapshot

2009-03-08 Thread dmitry boyarintsev
one more question: 7) 'static' keyword is available for both {$mode objfpc} and {$mode delphi} Thanks, Dmitry ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel

Re: [fpc-devel] FPC 2.2.3 i386-darwin snapshot

2009-03-08 Thread Jonas Maebe
On 08 Mar 2009, at 19:10, dmitry boyarintsev wrote: yeah, i've seen description of 'static' usage at the mailing list (subj: crashing _self parameter) This is a new feature for FPC, right? (catching up with new delphi syntax?) The static keyword been available forever in FPC (probably

Re: [fpc-devel] FPC 2.2.3 i386-darwin snapshot

2009-03-08 Thread dmitry boyarintsev
What did you do to get pascocoa to work under osx? It seems to me that you also need objc runtime headers. Can be found here: https://lazarus-ccr.svn.sourceforge.net/svnroot/lazarus-ccr/bindings/objc ___ fpc-devel maillist -

Re: [fpc-devel] FPC 2.2.3 i386-darwin snapshot

2008-10-06 Thread Jonas Maebe
On 06 Oct 2008, at 13:16, Felipe Monteiro de Carvalho wrote: I did not test the merged revision in 2.2.1. Yes, I regret nor having tested it. I had supposed it would work and it was merged right in the end of the development process, so I had no time to test. In such cases you should never

Re: [fpc-devel] FPC 2.2.3 i386-darwin snapshot

2008-10-05 Thread Felipe Monteiro de Carvalho
Hello, How would I procede to create the snapshot myself? I really need it. I cannot create toolbars in Cocoa without static. -- Felipe Monteiro de Carvalho ___ fpc-devel maillist - fpc-devel@lists.freepascal.org

Re: [fpc-devel] FPC 2.2.3 i386-darwin snapshot

2008-09-29 Thread Felipe Monteiro de Carvalho
On Mon, Sep 29, 2008 at 3:40 AM, Florian Klaempfl [EMAIL PROTECTED] wrote: Try to repeat the static keyword in the body, this could work with 2.2.0 too. That was the first thing I tryed: controller.pas(85,97) Error: Procedure directive STATIC not allowed in implementation section with fpc