Re: [fpc-pascal] not possible add into class helper overloaded variant of some virtual method

2013-11-18 Thread Sven Barth
On 18.11.2013 18:05, ko paka wrote: Hello, in actual trunk - fpc 2.7.1 - is not possible to do folloving: [snip] When I try to compile it, error "Wrong number of parameters " will be shown. Based on documentation I found (http://www.freepascal.org/docs-html/ref/refse50.html) it should b

[fpc-pascal] not possible add into class helper overloaded variant of some virtual method

2013-11-18 Thread ko paka
Hello, in actual trunk - fpc 2.7.1 - is not possible to do folloving: unit uStringListHelper; {$mode delphiunicode} interface uses Classes, SysUtils; type { TStringListHelper } TStringListHelper = class helper for TStringList public procedure LoadFromFile(const FileName: string

Re: [fpc-pascal] Problem building fixes_2_6

2013-11-18 Thread Reinier Olislagers
On 18/11/2013 15:49, waldo kitty wrote: > On 11/18/2013 2:01 AM, Reinier Olislagers wrote: >> On 18/11/2013 00:48, waldo kitty wrote: >>> On 11/17/2013 12:41 PM, Reinier Olislagers wrote: On 17/11/2013 18:38, Marco van de Voort wrote: > In our previous episode, Reinier Olislagers said: >>>

Re: [fpc-pascal] Problem building fixes_2_6

2013-11-18 Thread waldo kitty
On 11/18/2013 2:01 AM, Reinier Olislagers wrote: On 18/11/2013 00:48, waldo kitty wrote: On 11/17/2013 12:41 PM, Reinier Olislagers wrote: On 17/11/2013 18:38, Marco van de Voort wrote: In our previous episode, Reinier Olislagers said: [...] Is it me, fpcup or should something be fixed in...

Re: [fpc-pascal] ibase package

2013-11-18 Thread Antonio Fortuny
Le 18/11/2013 13:15, Tony Whyman a écrit : Antonio, Be careful on Ubuntu (as with all Debian) you only get libfbclient.so installed when you also have the development package (firebird-dev) installed. Better to load the lib

Re: [fpc-pascal] ibase package

2013-11-18 Thread Tony Whyman
Antonio, Be careful on Ubuntu (as with all Debian) you only get libfbclient.so installed when you also have the development package (firebird-dev) installed. Better to load the libfbclient.so.2 library which gets installed with the libfclient2 package. Regar

Re: [fpc-pascal] ibase package

2013-11-18 Thread Antonio Fortuny
Le 18/11/2013 13:12, Michael Van Canneyt a écrit : On Mon, 18 Nov 2013, Antonio Fortuny wrote: Le 18/11/2013 12:19, Michael Van Canneyt a écrit : On Mon, 18 No

Re: [fpc-pascal] ibase package

2013-11-18 Thread Michael Van Canneyt
On Mon, 18 Nov 2013, Antonio Fortuny wrote: Le 18/11/2013 12:19, Michael Van Canneyt a écrit : On Mon, 18 Nov 2013, Antonio Fortuny wrote: Hi Folks. I'm a little bit annoyed by a boring specification in the fpc package. When in a program I use the TIBConnection (along witha transaction

Re: [fpc-pascal] ibase package

2013-11-18 Thread Antonio Fortuny
Le 18/11/2013 13:08, Antonio Fortuny a écrit : Le 18/11/2013 12:19, Michael Van Canneyt a écrit : On Mon, 18 Nov 2013, Antonio Fortuny wrote: Hi Folks. I'm a little bi

Re: [fpc-pascal] ibase package

2013-11-18 Thread Antonio Fortuny
Le 18/11/2013 12:19, Michael Van Canneyt a écrit : On Mon, 18 Nov 2013, Antonio Fortuny wrote: Hi Folks. I'm a little bit annoyed by a boring specification in the fpc package. When in a program

Re: [fpc-pascal] optionally uses a unit

2013-11-18 Thread Xiangrong Fang
2013/11/18 Mark Morgan Lloyd > There are definitely hazards, but I think that an exists() predicate of > some form would definitely be useful. For example, inside an {$ifdef > persist} it would give the developers the ability to have a tailored error > message advising the maintainer that if pers

[fpc-pascal] Re: ibase package

2013-11-18 Thread Reinier Olislagers
On 18/11/2013 12:05, Antonio Fortuny wrote: > So far so good. When I install the program in another Linux box, running > Firebird 2.1, the program complains that > "Can not load default Firebird clients ("libfbclient.so.2.5" or > "libgds.so" or "libfbembed.so.2.5")". Looks normal as this Linux box

Re: [fpc-pascal] ibase package

2013-11-18 Thread Michael Van Canneyt
On Mon, 18 Nov 2013, Antonio Fortuny wrote: Hi Folks. I'm a little bit annoyed by a boring specification in the fpc package. When in a program I use the TIBConnection (along witha transaction and a query), the compiled program looks for the local libfbclient when establishing the connectio

[fpc-pascal] ibase package

2013-11-18 Thread Antonio Fortuny
Hi Folks. I'm a little bit annoyed by a boring specification in the fpc package. When in a program I use the TIBConnection (along witha transaction and a query), the compiled program looks for the local libfbclient when establishing the connection. So

Re: [fpc-pascal] optionally uses a unit

2013-11-18 Thread Mark Morgan Lloyd
Tomas Hajny wrote: On Mon, November 18, 2013 07:38, Xiangrong Fang wrote: Hi, Is it possible to optionally use a unit? e.g. unit myunit; uses {$ifexists persist.pas}persist,{$endif} Classes; type TMyClass = class public {$ifexists persist.pas} procedure SaveToStream(s: TStream);

Re: [fpc-pascal] TBookmark Type Change Status Request

2013-11-18 Thread Marco van de Voort
In our previous episode, Tony Whyman said: > Does anyone have an update on which release the TBookmark type change > from pointer to TBytes is going to be rolled out? I have heard that it > will not now be in 2.6.4. That is correct. I see now that the deprecated message in the source was never cor

Re: [fpc-pascal] TBookmark Type Change Status Request

2013-11-18 Thread LacaK
AFAIS this change is not merged to FPC 2.6.3, so I think, that it will NOT be a part of 2.6.4 L. Does anyone have an update on which release the TBookmark type change from pointer to TBytes is going to be rolled out? I have heard that it will not now be in 2.6.4. It's not that I want to use thi

[fpc-pascal] TBookmark Type Change Status Request

2013-11-18 Thread Tony Whyman
Does anyone have an update on which release the TBookmark type change from pointer to TBytes is going to be rolled out? I have heard that it will not now be in 2.6.4. It's not that I want to use this change, I just want to set a sensible (and stable) bit of conditional code to cope with the change

Re: [fpc-pascal] optionally uses a unit

2013-11-18 Thread Tomas Hajny
On Mon, November 18, 2013 07:38, Xiangrong Fang wrote: Hi, > Is it possible to optionally use a unit? e.g. > > unit myunit; > uses {$ifexists persist.pas}persist,{$endif} Classes; > > type > TMyClass = class > public > {$ifexists persist.pas} > procedure SaveToStream(s: TStream); >