Re: [fpc-pascal] Problem with interfaces

2007-08-19 Thread Darius Blaszijk
I've had similar issues some time ago. Have you tried FPC 2.3.1? It has a some interface fixes. Darius Joao Morais wrote: Hello, I have the following code: {$mode objfpc} interface ... function DefaultObj: TObject; implementation var _Holder: IHolder; function DefaultObj: TObject; be

[fpc-pascal] Problem with interfaces

2007-08-19 Thread Joao Morais
Hello, I have the following code: {$mode objfpc} interface ... function DefaultObj: TObject; implementation var _Holder: IHolder; function DefaultObj: TObject; begin if not Assigned(_Holder) then _Holder := THolder.Create(TSomeClass.Create); Result := _Holder.Instance; end; IHol

Re: [fpc-pascal] About the bug report #9408...

2007-08-19 Thread mm
Jonas Maebe a écrit : On 15 Aug 2007, at 03:51, mm wrote: To J.M. --- You said "To be compatible with Delphi". With its current behaviour, FPC 2.1.4 is not compatible with Delphi (and no more with FPC 2.0.4). It is at least more compatible with Delphi than 2.1.4 Which Delphi? :-) You

[fpc-pascal] Delphi 2007 looks like Java and Ruby

2007-08-19 Thread ik
Hi, I'm reading the following article on codegear: http://dn.codegear.com/article/34324 And for me it looks like Delphi 2007 is trying to be a pure OO language, where it starting to take things from Ruby and Java. Now while some things are well, sounds really good, I do not like the directing it h

Re: [fpc-pascal] Re: Help needed with (JEDI-)SDL on Mac OS X with FPC 2.0.4 powerpc

2007-08-19 Thread Jonas Maebe
On 18 Aug 2007, at 21:24, Tom Verhoeff wrote: On Fri, Aug 17, 2007 at 10:47:27PM +0100, Milan Marusinec wrote: Tom Verhoeff wrote: Any idea what I messed up? This is what my command line looks like: fpc -Fu/Users/wstomv/Download/JEDI-SDLv1.0/SDL/Pas -Fl/usr/X11R6/lib -XMSDL_main -k-L/sw/lib

Re: [fpc-pascal] About the bug report #9408...

2007-08-19 Thread Jonas Maebe
On 15 Aug 2007, at 03:51, mm wrote: To J.M. --- You said "To be compatible with Delphi". With its current behaviour, FPC 2.1.4 is not compatible with Delphi (and no more with FPC 2.0.4). It is at least more compatible with Delphi than 2.1.4 You quoted the bug #8321. There, I see two pro

[fpc-pascal] MSEide+MSEgui version 1.4beta1

2007-08-19 Thread Martin Schreiber
MSEide+MSEgui version 1.4beta1 has been released: http://sourceforge.net/project/showfiles.php?group_id=165409 New in 1.4: - Compiles with FPC 2.0.4, 2.1.5 and (hopefully) 2.2. - tsqlresult, a SQL result set which does not inherit from tdataset for fast readonly unidirectional data access. - ts