Re: [fpc-pascal] Compiling problems

2006-11-03 Thread Christian Ulrich
> Having such a page is not bad but I consider it more as something which > can be done by the power users instead of the developers. If something > serious is started, I'll link it to the main page. right, but i think the "power users" read this list so i hope tht they will help stay tuned with a

[fpc-pascal] How to fix - Hint: Type size mismatch

2006-11-03 Thread Graeme Geldenhuys
Hi, I am trying to clean up the fpGFX code and trying to get rid of all compiler warnings. I get the following compiler hint on every line in the RectToXRect function. Using FPC 2.1.1 under Linux. Hint: Type size mismatch, possible loss of data / range check error function RectToXRect(const ARe

Re: [fpc-pascal] Compiling problems

2006-11-03 Thread Florian Klaempfl
Micha Nelissen schrieb: Jonas Maebe wrote: If it's later fixed people might think, it's still not fixed. That should only be changed after it's fixed I think, because if you write "5091 to 5114" and it's still not fixed in 5115, people may also be confused :) It just says those revisions are

Re: [fpc-pascal] Compiling problems

2006-11-03 Thread Micha Nelissen
Jonas Maebe wrote: > >> If it's later fixed people might think, it's still not fixed. > > That should only be changed after it's fixed I think, because if you > write "5091 to 5114" and it's still not fixed in 5115, people may also > be confused :) It just says those revisions are unusable, not

Re: [fpc-pascal] Compiling problems

2006-11-03 Thread Jonas Maebe
On 03 Nov 2006, at 22:58, Florian Klaempfl wrote: Please don't use something like ... and higher but a range instead: 5091 to 5114 - unusable on win32, win64 and wince If it's later fixed people might think, it's still not fixed. That should only be changed after it's fixed I think, because

Re: [fpc-pascal] Compiling problems

2006-11-03 Thread Felipe Monteiro de Carvalho
On 11/3/06, Florian Klaempfl <[EMAIL PROTECTED]> wrote: Please don't use something like ... and higher but a range instead: 5091 to 5114 - unusable on win32, win64 and wince If it's later fixed people might think, it's still not fixed. thanks for the hint, fixed. -- Felipe Monteiro de Carvalh

Re: [fpc-pascal] Compiling problems

2006-11-03 Thread Florian Klaempfl
Felipe Monteiro de Carvalho schrieb: I created such page here: http://www.freepascal.org/wiki/index.php/Tested_Unstable_Revisions Please don't use something like ... and higher but a range instead: 5091 to 5114 - unusable on win32, win64 and wince If it's later fixed people might think, it's

Re: [fpc-pascal] Compiling problems

2006-11-03 Thread Felipe Monteiro de Carvalho
I created such page here: http://www.freepascal.org/wiki/index.php/Tested_Unstable_Revisions I linked it from the FPC wiki page, instead of the main page, because I consider it not important enougth for the main page. I will also add a link on the WinCE page -- Felipe Monteiro de Carvalho _

Re: [fpc-pascal] Compiling problems

2006-11-03 Thread Felipe Monteiro de Carvalho
On 11/3/06, Christian Ulrich <[EMAIL PROTECTED]> wrote: @Felipe, i dont want this only for wince. for win32 and win64 fpc > 5091 is also not useable. think an general wiki´page in the fpc wiki is better for that or not ?! Yes, could be. Each revision would then have a note saying on which targe

Re: [fpc-pascal] Compiling problems

2006-11-03 Thread Florian Klaempfl
Christian Ulrich schrieb: I think a lot of people do this like me, and its easyer when they can look at an fpc wiki page where they find the last revision tested from some people. @Felipe, i dont want this only for wince. for win32 and win64 fpc > 5091 is also not useable. think an general wiki´

Re: [fpc-pascal] Compiling problems

2006-11-03 Thread Christian Ulrich
> If you want tested revisions use the releases. For trunk you are on > your own to keep track of working revisions. Maybe for you rev A is > good, but broken on an other platform where rev B is better. Not all realeases are stable,i have used fpc 2.0.4 for 2 days and then used fpc 2.1.1 because f

Re: [fpc-pascal] Compiling problems

2006-11-03 Thread Peter Vreman
At 21:57 3-11-2006, you wrote: > > If you want a 'stable' trunk stick with r5191 for now. > > .. but don't use smart-linking (-XX) then. > > better use r5180 .. ok, i havend belived this but seems to be an compiler issue maybe the ppu check code is broken in revisions >5191 or something else wit

Re: [fpc-pascal] Compiling problems

2006-11-03 Thread Felipe Monteiro de Carvalho
On 11/3/06, Christian Ulrich <[EMAIL PROTECTED]> wrote: is it possible to make a list of "tested" revisions. i would like that i like to use an mostly actiual revision to have advance of its benefits. Maybe you could start that to the wince page on the wiki: http://www.freepascal.org/wiki/inde

Re: [fpc-pascal] Compiling problems

2006-11-03 Thread Christian Ulrich
> > If you want a 'stable' trunk stick with r5191 for now. > > .. but don't use smart-linking (-XX) then. > > better use r5180 .. ok, i havend belived this but seems to be an compiler issue maybe the ppu check code is broken in revisions >5191 or something else with 5180 everything seems to build

Re: [fpc-pascal] PROJECT_DERIVED_FILE_DIR

2006-11-03 Thread Jonas Maebe
On 03 Nov 2006, at 18:47, Ken G. Brown wrote: Thank you very much, that has helped a lot. The project files readme has a good description of how XCode's build system works, which also has helped. Erling's template specifies fpc 2.1.1 but the only one I can find for PowerPC is 2.0.4. Is th

Re: [fpc-pascal] PROJECT_DERIVED_FILE_DIR

2006-11-03 Thread Ken G. Brown
Thank you very much, that has helped a lot. The project files readme has a good description of how XCode's build system works, which also has helped. Erling's template specifies fpc 2.1.1 but the only one I can find for PowerPC is 2.0.4. Is there a later one for PowerPC somewhere? Thx, Ken >Dat

Re: [fpc-pascal] Compiling problems

2006-11-03 Thread Burkhard Carstens
Am Freitag, 3. November 2006 17:41 schrieb Peter Vreman: > At 17:33 3-11-2006, you wrote: > >yes but there are some lovely stuff on the trunk ;) > >like working debug symbols with the internal linker and so on > > If you want a 'stable' trunk stick with r5191 for now. .. but don't use smart-linkin

Re: [fpc-pascal] Compiling problems

2006-11-03 Thread Peter Vreman
At 17:33 3-11-2006, you wrote: yes but there are some lovely stuff on the trunk ;) like working debug symbols with the internal linker and so on If you want a 'stable' trunk stick with r5191 for now. Peter ___ fpc-pascal maillist - fpc-pascal@lis

Re: [fpc-pascal] Compiling problems

2006-11-03 Thread Christian Ulrich
> > My Path is set to %PATH%;d:\programme\lazarus\fpc\bin\i386-win32 > > When it woud be so easy i woudnt write to this list > > Sorry for trying to help... dont be worry please, maybe ive writed a little bit hard. iam glad that you all try to help. > > > Jonas > __

Re: [fpc-pascal] Compiling problems

2006-11-03 Thread Christian Ulrich
yes but there are some lovely stuff on the trunk ;) like working debug symbols with the internal linker and so on - Original Message - From: "Florian Klaempfl" <[EMAIL PROTECTED]> To: "FPC-Pascal users discussions" Sent: Friday, November 03, 2006 5:28 PM Subject: Re: [fpc-pascal] Compilin

Re: [fpc-pascal] Compiling problems

2006-11-03 Thread Christian Ulrich
> Thats is not the real problem. Its a bug somewhere in the makefile (look > at the .o files, one of them it isn't copied, don't know which one > anymore). Thats why compilation fails later. If you manually copy the > rtl/units, fcl/units and install the packages wince works.. Havend copied all un

Re: [fpc-pascal] Compiling problems

2006-11-03 Thread Florian Klaempfl
Christian Ulrich schrieb: Hi, I have compiled an fpc with revision 5198 bevore 5 minutes for i386-win32 and arm-wince compiles great. (Actual revisions dont compile) There is heavy work ongoing so don't depend on working with trunk currently. ___ f

Re: [fpc-pascal] Compiling problems

2006-11-03 Thread Christian Ulrich
> Thats is not the real problem. Its a bug somewhere in the makefile (look > at the .o files, one of them it isn't copied, don't know which one > anymore). Thats why compilation fails later. If you manually copy the > rtl/units, fcl/units and install the packages wince works.. Thats not for wince

Re: [fpc-pascal] Compiling problems

2006-11-03 Thread Jonas Maebe
On 03 Nov 2006, at 17:13, Christian Ulrich wrote: My Path is set to %PATH%;d:\programme\lazarus\fpc\bin\i386-win32 When it woud be so easy i woudnt write to this list Sorry for trying to help... Jonas ___ fpc-pascal maillist - fpc-pascal@lists.f

Re: [fpc-pascal] Compiling problems

2006-11-03 Thread Christian Ulrich
> But did it install into D:\Programme\lazarus\fpc\2.1.1\ ? YES of course have deleted the old stuff except the bintools and copied everything from d:\pp to d:\programme\lazarus\fpc > And does this invocation of "make" use the newly compiled compiler? My Path is set to %PATH%;d:\programme\lazaru

Re: [fpc-pascal] Compiling problems

2006-11-03 Thread Marius
Thats is not the real problem. Its a bug somewhere in the makefile (look at the .o files, one of them it isn't copied, don't know which one anymore). Thats why compilation fails later. If you manually copy the rtl/units, fcl/units and install the packages wince works.. Christian Ulrich wrote:

Re: [fpc-pascal] Compiling problems

2006-11-03 Thread Jonas Maebe
On 03 Nov 2006, at 13:15, Christian Ulrich wrote: please read: PPU Loading D:\Programme\lazarus\fpc\2.1.1\units\i386-win32\fcl \zstream.ppu Recompiling zstream, checksum changed for paszlib PPU Loading D:\Programme\lazarus\fpc\2.1.1\units\i386-win32\fcl \zstream.ppu Fatal: Can't find unit z

Re: [fpc-pascal] Compiling problems

2006-11-03 Thread Christian Ulrich
I think you forgot to compile FCL too. You only compiled the compiler and RTL. Instructions here: http://www.freepascal.org/wiki/index.php/WinCE_port#Building_FPC_libraries NO ! please read: PPU Loading D:\Programme\lazarus\fpc\2.1.1\units\i386-win32\fcl\zstream.ppu Recompiling zstream, che

Re: [fpc-pascal] Problem with multiple inheritance

2006-11-03 Thread Matt Emson
> In the future, make this kind of comments in private, Would you listen any more gracefully? > not in the middle of a technical discussion. It was related to the discussion. It was also a small proportion of the rest of the email. 24 lines, only 4 related to this outburst. You are overreacting.

Re: [fpc-pascal] Problem with multiple inheritance

2006-11-03 Thread Felipe Monteiro de Carvalho
On 11/3/06, Matt Emson <[EMAIL PROTECTED]> wrote: Oh, whilst were speaking, In the future, make this kind of comments in private, not in the middle of a technical discussion. This has no place on this thread. ___ fpc-pascal maillist - fpc-pasca

Re: [fpc-pascal] Problem with multiple inheritance

2006-11-03 Thread Matt Emson
> How can I work around this? I mean, how can I redesign my idea to make > it work with FP? > > Note that Qt requires that all methods to receive events, and signals > be from objects (I cannot use a procedure to receive events). In Delphi, I'd do it through interfaces. Delphi has this neat little

Re: [fpc-pascal] Compiling problems

2006-11-03 Thread Felipe Monteiro de Carvalho
On 11/3/06, Christian Ulrich <[EMAIL PROTECTED]> wrote: When i try to rebuild Lazarus or just the lcl for Wince it says: . but how can it be for an clean compiled fpc ?! I think you forgot to compile FCL too. You only compiled the compiler and RTL. Instructions here: http://www.freepas

[fpc-pascal] Compiling problems

2006-11-03 Thread Christian Ulrich
Hi, I have compiled an fpc with revision 5198 bevore 5 minutes for i386-win32 and arm-wince compiles great. (Actual revisions dont compile) When i try to rebuild Lazarus or just the lcl for Wince it says: PPU Loading D:\Programme\lazarus\fpc\2.1.1\units\i386-win32\fcl\zstream.ppu Recompiling

Re: [fpc-pascal] Generics

2006-11-03 Thread Florian Klaempfl
Albin Pučnik schrieb: Hi, As I can see, there already is some support for generics in FreePascal, but only for classes. Will records, Records are already supported. their operators and free functions be Probably not in the upcoming 2.2 and even if they will, you will have to speciali

[fpc-pascal] Generics

2006-11-03 Thread Albin Pučnik
Hi, As I can see, there already is some support for generics in FreePascal, but only for classes. Will records, their operators and free functions be supported too ? Could someone of core developers explain the intended syntax for generics and give few basic examples ? Bine _

Re: [fpc-pascal] Progress Bar in different widget sets

2006-11-03 Thread Alexander Todorov
On Fri, 3 Nov 2006 00:43:13 +0200 Graeme Geldenhuys wrote: I just implemented a basic TProgressBar widget for fpGUI and wanted to know if that Gtk progress bar feature (running left and right repeatedly) is something people actually use in applications and worth the time implementing in fpGUI.

Re: [fpc-pascal] Progress Bar in different widget sets

2006-11-03 Thread Graeme Geldenhuys
On 03/11/06, Marc PERTRON <[EMAIL PROTECTED]> wrote: It's used when you don't know the time a thing will last (for example, some downloads in FF, or Windows XP boot) Not sure it's very useful, most of the time i prefer adding a "Kb Downloaded" or things like that to show people that the program i

Re: [fpc-pascal] Progress Bar in different widget sets

2006-11-03 Thread Graeme Geldenhuys
Thanks Michallis and Micha. I finally understand the KIT2000 feature. Graeme. On 03/11/06, Michalis Kamburelis <[EMAIL PROTECTED]> wrote: Graeme Geldenhuys wrote: > Hi, > > GTK's progress bar has a feature where the progress bar moves left and > right repeatedly, instead of the normal from Mi

Re: [fpc-pascal] Progress Bar in different widget sets

2006-11-03 Thread Marc PERTRON
Graeme Geldenhuys a écrit : Hi, GTK's progress bar has a feature where the progress bar moves left and right repeatedly, instead of the normal from Min to Max. What do you call that feature and what do you actually use it for? I know I have seen in used in Mozilla Thunderbird as well, but could

Re: [fpc-pascal] Progress Bar in different widget sets

2006-11-03 Thread Graeme Geldenhuys
On 03/11/06, Michael Van Canneyt <[EMAIL PROTECTED]> wrote: Well, you can construct black talking cars with it, like the KIT2000 ;-) Saw that on TV once, long ago ;-) Michael. I didn't want to mention that, even though it was the first thing on my mind! :-) Graeme. -- There's no place li