[Lazarus] Forward declaration not solved

2013-08-09 Thread Antonio Fortuny
Hi Folks. Moving some units from Delphi to FPC-Lazarus, the FPC compiler tells me something I do not understand: Platform is Linux_x64, Lazarus 1.0.8 FPC 2.6.2, gtk2 Project options have been set to Obj Pascal (mdelphi removed) interface uses ... [324]function OpenLongFileName(const

Re: [Lazarus] Congrats on the new project options screen

2013-08-09 Thread Frederic Da Vitoria
2013/8/9 waldo kitty wkitt...@windstream.net On 8/7/2013 16:45, Juha Manninen wrote: On Wed, Aug 7, 2013 at 11:18 PM, waldo kittywkitt...@windstream.net wrote: as noted upstream in this thread... w2k-SP4 with all available updates AMD Athlon XP 2800+ 768M RAM and the HD is a WDC

Re: [Lazarus] Forward declaration not solved

2013-08-09 Thread Mattias Gaertner
On Fri, 09 Aug 2013 10:04:01 +0200 Antonio Fortuny a.fort...@sitasoftware.lu wrote: Hi Folks. Moving some units from Delphi to FPC-Lazarus, the FPC compiler tells me something I do not understand: Platform is Linux_x64, Lazarus 1.0.8 FPC 2.6.2, gtk2 Project options have been set to Obj

Re: [Lazarus] Congrats on the new project options screen [OT]

2013-08-09 Thread Lukasz Sokol
On 09/08/13 09:17, Frederic Da Vitoria wrote: 2013/8/9 waldo kitty wkitt...@windstream.net [...] after some investigation and time spent archiving, it seems that thunderbird with some 4+ messages in this lazarus folder plus having firefox open were causing my system to consume too much

Re: [Lazarus] Forward declaration not solved

2013-08-09 Thread Antonio Fortuny
Le 09/08/2013 10:22, Mattias Gaertner a écrit : clamav3.pas(324,12) Error: Forward declaration not solved OpenLongFileName(const AnsiString,const LongInt):QWord; Any comment ? Maybe there is a unit in your implementation uses section that redefines THandle. On the declaration (following Ctrl +

Re: [Lazarus] Forward declaration not solved

2013-08-09 Thread Sven Barth
Am 09.08.2013 11:15, schrieb Antonio Fortuny: Le 09/08/2013 10:22, Mattias Gaertner a écrit : clamav3.pas(324,12) Error: Forward declaration not solved OpenLongFileName(const AnsiString,const LongInt):QWord; Any comment ? Maybe there is a unit in your implementation uses section that

Re: [Lazarus] Forward declaration not solved

2013-08-09 Thread Antonio Fortuny
Le 09/08/2013 11:29, Sven Barth a crit: Am 09.08.2013 11:15, schrieb Antonio Fortuny: Le 09/08/2013 10:22, Mattias Gaertner a crit : clamav3.pas(324,12) Error: Forward declaration not solved

Re: [Lazarus] Forward declaration not solved

2013-08-09 Thread Mattias Gaertner
Antonio Fortuny a.fort...@sitasoftware.lu hat am 9. August 2013 um 11:15 geschrieben: [...] Le 09/08/2013 10:22, Mattias Gaertner a écrit : clamav3.pas(324,12) Error: Forward declaration not solved OpenLongFileName(const AnsiString,const LongInt):QWord; Any comment ? Maybe there is

Re: [Lazarus] Congrats on the new project options screen [OT]

2013-08-09 Thread Sven Barth
Am 09.08.2013 11:44, schrieb Mark Morgan Lloyd: Lukasz Sokol wrote: On 09/08/13 09:17, Frederic Da Vitoria wrote: 2013/8/9 waldo kitty wkitt...@windstream.net [...] after some investigation and time spent archiving, it seems that thunderbird with some 4+ messages in this lazarus folder

Re: [Lazarus] Forward declaration not solved

2013-08-09 Thread Michael Van Canneyt
On Fri, 9 Aug 2013, Antonio Fortuny wrote: Le 09/08/2013 11:29, Sven Barth a écrit : Am 09.08.2013 11:15, schrieb Antonio Fortuny: Le 09/08/2013 10:22, Mattias Gaertner a écrit : clamav3.pas(324,12) Error: Forward declaration not solved OpenLongFileName(const AnsiString,const

Re: [Lazarus] Forward declaration not solved

2013-08-09 Thread Mattias Gaertner
Michael Van Canneyt mich...@freepascal.org hat am 9. August 2013 um 12:19 geschrieben: [...] OK, I think I can live with this. But I think it would be preferable to use a distinct type name. I have been proponent of this idea since many years :-) What type do you want to rename?

Re: [Lazarus] Congrats on the new project options screen [OT]

2013-08-09 Thread Mark Morgan Lloyd
Lukasz Sokol wrote: On 09/08/13 09:17, Frederic Da Vitoria wrote: 2013/8/9 waldo kitty wkitt...@windstream.net [...] after some investigation and time spent archiving, it seems that thunderbird with some 4+ messages in this lazarus folder plus having firefox open were causing my system to

Re: [Lazarus] Forward declaration not solved

2013-08-09 Thread Sven Barth
Am 09.08.2013 12:45, schrieb Mattias Gaertner: Michael Van Canneyt mich...@freepascal.org hat am 9. August 2013 um 12:19 geschrieben: [...] OK, I think I can live with this. But I think it would be preferable to use a distinct type name. I have been proponent of this idea since many years :-)

Re: [Lazarus] Forward declaration not solved

2013-08-09 Thread Michael Van Canneyt
On Fri, 9 Aug 2013, Mattias Gaertner wrote: Michael Van Canneyt mich...@freepascal.org hat am 9. August 2013 um 12:19 geschrieben: [...] OK, I think I can live with this. But I think it would be preferable to use a distinct type name. I have been proponent of this idea since many years

Re: [Lazarus] Forward declaration not solved

2013-08-09 Thread Antonio Fortuny
Le 09/08/2013 13:39, Michael Van Canneyt a écrit : On Fri, 9 Aug 2013, Mattias Gaertner wrote: Michael Van Canneyt mich...@freepascal.org hat am 9. August 2013 um 12:19 geschrieben: [...] OK, I think I can live with this. But I think it would be preferable to use a distinct type name.

Re: [Lazarus] Forward declaration not solved

2013-08-09 Thread Michael Van Canneyt
On Fri, 9 Aug 2013, Antonio Fortuny wrote: Le 09/08/2013 13:39, Michael Van Canneyt a écrit : On Fri, 9 Aug 2013, Mattias Gaertner wrote: Michael Van Canneyt mich...@freepascal.org hat am 9. August 2013 um 12:19 geschrieben: [...] OK, I think I can live with this. But I think it

Re: [Lazarus] Forward declaration not solved

2013-08-09 Thread Antonio Fortuny
Le 09/08/2013 15:02, Michael Van Canneyt a crit: On Fri, 9 Aug 2013, Antonio Fortuny wrote: Le 09/08/2013 13:39, Michael Van Canneyt a crit : On Fri, 9 Aug

Re: [Lazarus] Forward declaration not solved

2013-08-09 Thread Michael Van Canneyt
On Fri, 9 Aug 2013, Antonio Fortuny wrote: they will all end up referencing windows.THandle, but on other platforms they may be wildly different. For a developer as me, this is probably the best solution indeed. I do manipulate lots of handles in my applications and do not really want to

Re: [Lazarus] Forward declaration not solved

2013-08-09 Thread Antonio Fortuny
Le 09/08/2013 15:21, Michael Van Canneyt a écrit : On Fri, 9 Aug 2013, Antonio Fortuny wrote: they will all end up referencing windows.THandle, but on other platforms they may be wildly different. For a developer as me, this is probably the best solution indeed. I do manipulate lots of

Re: [Lazarus] Pascal Script and Lazarus/Free Pascal

2013-08-09 Thread silvioprog
2013/8/8 Carlo Kok c...@carlo-kok.com [...] I'd rather get some pull requests for the original ones so I can get this integrated in the main repository. -- Carlo Kok RemObjects Software Very nice. I think that it could've two packages, a runtime and a designetime, being the first fully

Re: [Lazarus] Forward declaration not solved

2013-08-09 Thread Santiago Amposta
El 09/08/2013 11:15, Antonio Fortuny escribió: But the isn't there some ambiguity between LCL declarations and FPC declarations for what is obviously the same type ? Thanks Mattias, In delphi, exists sysutils.abort and windows.abort. I don't know how long it took me to find the bug: Just

Re: [Lazarus] Forward declaration not solved

2013-08-09 Thread Marcos Douglas
On Fri, Aug 9, 2013 at 3:13 PM, Santiago Amposta s...@ciberpiula.net wrote: El 09/08/2013 11:15, Antonio Fortuny escribió: But the isn't there some ambiguity between LCL declarations and FPC declarations for what is obviously the same type ? Thanks Mattias, In delphi, exists sysutils.abort

Re: [Lazarus] Forward declaration not solved

2013-08-09 Thread Mattias Gaertner
On Fri, 9 Aug 2013 15:21:24 +0200 (CEST) Michael Van Canneyt mich...@freepascal.org wrote: On Fri, 9 Aug 2013, Antonio Fortuny wrote: they will all end up referencing windows.THandle, but on other platforms they may be wildly different. For a developer as me, this is probably the

Re: [Lazarus] Forward declaration not solved

2013-08-09 Thread Hans-Peter Diettrich
Santiago Amposta schrieb: El 09/08/2013 11:15, Antonio Fortuny escribió: But the isn't there some ambiguity between LCL declarations and FPC declarations for what is obviously the same type ? Thanks Mattias, In delphi, exists sysutils.abort and windows.abort. I don't know how long it took me