Re: [fpc-pascal] problem with interface (OOP not widget)

2008-03-12 Thread Jonas Maebe
On 12 Mar 2008, at 05:41, Bee wrote: http://bugs.freepascal.org/view.php?id=10684 Hints? TIA. I'm currently using a not too elegant workaround to solve this problem. With some IFDEFs because the workaround is for FPC only. There is no support for passing nil as a constant to a

Re: [fpc-pascal] problem with interface (OOP not widget)

2008-03-12 Thread Jonas Maebe
On 12 Mar 2008, at 11:02, Jonas Maebe wrote: On 12 Mar 2008, at 05:41, Bee wrote: http://bugs.freepascal.org/view.php?id=10684 Hints? TIA. I'm currently using a not too elegant workaround to solve this problem. With some IFDEFs because the workaround is for FPC only. There is no

Re: [fpc-pascal] problem with interface (OOP not widget)

2008-03-11 Thread Bee
http://bugs.freepascal.org/view.php?id=10684 Hints? TIA. I'm currently using a not too elegant workaround to solve this problem. With some IFDEFs because the workaround is for FPC only. Nobody seems interested to this bug since there's no response for this issue in the mantis. I wonder

Re: [fpc-pascal] problem with interface (OOP not widget)

2008-01-29 Thread Bee
Did you try such a brute force approach? Yup, but with no luck. It's very reproducable, see my report at mantis. I almost sure that it's about interface things since that it starts the problem since the beginning. :( -Bee- has Bee.ography at: http://beeography.wordpress.com

Re[2]: [fpc-pascal] problem with interface (OOP not widget)

2008-01-29 Thread JoshyFun
Hello Bee, Tuesday, January 29, 2008, 7:44:14 AM, you wrote: So, may I made a conclusion that this is a bug? B http://bugs.freepascal.org/view.php?id=10684 B Is there any feasible workaround for this before the bug is fixed? TIA. I wrote some small changes to your code and the bug only

Re: [fpc-pascal] problem with interface (OOP not widget)

2008-01-29 Thread Giuliano Colla
Bee ha scritto: Hi Bee, perhaps you could try using {$MODE Delphi} instead of {$MODE OBJFPC} since you seem to want Delphi compatibility. Problem still persists. :( -Bee- FWIW. I've met from time to time a Fatal Internal Error with some number which might match yours, in perfectly clean

Re: [fpc-pascal] problem with interface (OOP not widget)

2008-01-28 Thread Bee
So, may I made a conclusion that this is a bug? http://bugs.freepascal.org/view.php?id=10684 Is there any feasible workaround for this before the bug is fixed? TIA. -Bee- has Bee.ography at: http://beeography.wordpress.com ___ fpc-pascal maillist

Re: [fpc-pascal] problem with interface (OOP not widget)

2008-01-28 Thread Bee
Hi Bee, perhaps you could try using {$MODE Delphi} instead of {$MODE OBJFPC} since you seem to want Delphi compatibility. Problem still persists. :( -Bee- has Bee.ography at: http://beeography.wordpress.com ___ fpc-pascal maillist -

Re: [fpc-pascal] problem with interface (OOP not widget)

2008-01-24 Thread Paul Nicholls
Hi Bee, perhaps you could try using {$MODE Delphi} instead of {$MODE OBJFPC} since you seem to want Delphi compatibility. cheers, Paul On 23/01/2008, Bee [EMAIL PROTECTED] wrote: Hi all, I got problem with the code below. ---8--- begin code ---8--- program test_intf_query; {$IFDEF FPC}

[fpc-pascal] problem with interface (OOP not widget)

2008-01-23 Thread Bee
Hi all, I got problem with the code below. ---8--- begin code ---8--- program test_intf_query; {$IFDEF FPC} {$MODE OBJFPC}{$H+} {$ENDIF} uses Classes; type TPLFieldType = (plftUnknown, plftString, plftSmallint, plftInteger, plftWord, plftBoolean, plftFloat, plftCurrency, plftBCD,

Re: [fpc-pascal] problem with interface (OOP not widget)

2008-01-23 Thread Bee
You have plftOraClob, plftOraClob 2 times the same element. This is not allowed. Arrggg... what a stupid mistake! How can I didn't notice that?! It should be plftOraClob, plftOraBlob (clob and blob)! Thank you, Michael! Thank you again for the ultra fast response! :-D -Bee- has

Re: [fpc-pascal] problem with interface (OOP not widget)

2008-01-23 Thread Bee
Arrggg... what a stupid mistake! How can I didn't notice that?! It should be plftOraClob, plftOraBlob (clob and blob)! Thank you, Michael! Thank you again for the ultra fast response! :-D FYI, the fatal internal error still persist. :) -Bee- has Bee.ography at:

Re: [fpc-pascal] problem with interface (OOP not widget)

2008-01-23 Thread Bee
Arrggg... what a stupid mistake! How can I didn't notice that?! It should be plftOraClob, plftOraBlob (clob and blob)! Thank you, Michael! Thank you again for the ultra fast response! :-D I must slipped my fingers and eyes during conversion to FPC. I saw the code in Delphi doesn't have

Re: [fpc-pascal] problem with interface (OOP not widget)

2008-01-23 Thread Michael Van Canneyt
On Wed, 23 Jan 2008, Bee wrote: Hi all, I got problem with the code below. ---8--- begin code ---8--- program test_intf_query; {$IFDEF FPC} {$MODE OBJFPC}{$H+} {$ENDIF} uses Classes; type TPLFieldType = (plftUnknown, plftString, plftSmallint, plftInteger,

Re: [fpc-pascal] problem with interface (OOP not widget)

2008-01-23 Thread Bee
I'm using FPC 2.2.0, 2.2.1, and 2.3.1 on Ubuntu Gutsy i386. I thought it was the problem with FPC for Linux, so I tried it with FPC 2.2.0 on Windows (on exact machine). But, same errors persist on all FPC versions. :( If it is a bug of FPC, I'll file it to Mantis ASAP. Just to make sure it's