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 an site.

___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


[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 ARect: TRect): TXRectangle;
begin
 Result.x  := ARect.Left;
 Result.y  := ARect.Top;
 Result.width  := ARect.Right - ARect.Left;
 Result.height := ARect.Bottom - ARect.Top;
end;


I understand the hint, and agree with it, but what do I need to do, to
fix/remove it?  The TRect and TXRectangle are defined as shown below.
Could I cast ARect's fields to remove the hint?

  TXRectangle = record
   x, y : cshort;
   width, height : cushort;
end;

 TRect =  record
   case Integer of
 0: (Left,Top,Right,Bottom : Longint);
 1: (TopLeft,BottomRight : TPoint);
   end;


Regards,
 - Graeme -

--
There's no place like 127.0.0.1
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


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 unusable, not whether the others are or
are not.


To be on the safe side, add a hint: revisions not listed, may work or 
not, they are simply not tested :)

___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


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 whether the others are or
are not.

Micha
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


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 if you  
write "5091 to 5114" and it's still not fixed in 5115, people may  
also be confused :)



Jonas
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


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 Carvalho
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


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 still not fixed.


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


___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


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
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


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
targets it was tested.

Not sure where to put a link to this page, surely not on the main page.

--
Felipe Monteiro de Carvalho
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


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´page in the fpc wiki is better for that or not ?!


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.




5080 is now tested with win32 win64 and wince, make install fails on
exampleinstall
but the compiler fcl and rtl compiles,installs and works fine as i can see.


___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


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 fpc 2.0.4 breaks compiling my apps often with "internal compiler
error"
fpc 2.1.1 has support for the internal linker and so on.
iam search ca once a month for an "stable" fpc trunc and use them where i
update lazarus dayly and
switch to the previous revision when it dont run clean.

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´page in the fpc wiki is better for that or not ?!

5080 is now tested with win32 win64 and wince, make install fails on
exampleinstall
but the compiler fcl and rtl compiles,installs and works fine as i can see.

Christian


>
>
> Peter
>
> ___
> fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-pascal

___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


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
with 5180 everything seems to build clean thanks.

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.


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.



Peter

___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


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/index.php/WinCE_port

--
Felipe Monteiro de Carvalho
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


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 clean thanks.

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.

regards
Christian


>
> regards
>  Burkhard
>
> ___
> fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-pascal

___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


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 there a later one for PowerPC somewhere?


Not currently, unless you compile it yourself. Vincent has reportedly  
written on the Lazarus forums that PPC 2.1.1 snapshots will be  
available again at the end of this month.



Jonas
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


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

>Date: Thu, 2 Nov 2006 19:19:43 +0100
>From: Jonas Maebe <[EMAIL PROTECTED]>
>Subject: Re: [fpc-pascal] PROJECT_DERIVED_FILE_DIR
>To: FPC-Pascal users discussions 

>You may also want to try Erling Johanssen's alternate Xcode project 
>files, available from
>   http://www.fabfilter.com/frederik/fpc-app-templates-20060921-ejo.zip
>
>They are written for Xcode 2.3 or later and therefore need far less 
>workarounds for Xcode bugs and limitations (and hence are less prone 
>to hard to find bugs). They also solve a few issues with the project 
>files we distribute (the main one is that it puts the compilation 
>script in a different target to avoid a race condition).
>
>
>Jonas

___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


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-linking (-XX) then.

better use r5180 ..

regards
 Burkhard

___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


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@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


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
> ___
> fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-pascal
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


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] Compiling problems


> 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.
> ___
> fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-pascal

___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


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 units from source\fcl\units to units\fcl
and from source\packages\base\paszlib to units\paszlib

the same problem. can nobody confirm this ?

>
>
> Christian Ulrich wrote:
> >> 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, checksum changed for paszlib
> > PPU Loading
D:\Programme\lazarus\fpc\2.1.1\units\i386-win32\fcl\zstream.ppu
> > Fatal: Can't find unit zstream
> > Fatal: Compilation aborted
> >
> > if zstream.ppu dont exists the error message should look a little bit
> > diffrent or not ?!
> >
> > have made :
> > make clean rtl compiler fcl packages utils rtl_install compiler_install
> > fcl_install packages_install utils_install
> >
> > everythibg builds and install great
> >
> > then i go to the lazarus dir and call
> > make
> >
> > and breaks with this errormessage
> >
> > Christian
> >
> >
> >
> >
> >>
> >> --
> >> Felipe Monteiro de Carvalho
> >> ___
> >> fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
> >> http://lists.freepascal.org/mailman/listinfo/fpc-pascal
> >
> > ___
> > fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
> > http://lists.freepascal.org/mailman/listinfo/fpc-pascal
> >
> >
>
> ___
> fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-pascal

___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


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.
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


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 thats for WIN32 so maybe someone schould take a look at
the makefiles or not ?!
But as i see zstream.ppu and .o and also paszlib.ppu and .o are there

>
>
> Christian Ulrich wrote:
> >> 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, checksum changed for paszlib
> > PPU Loading
D:\Programme\lazarus\fpc\2.1.1\units\i386-win32\fcl\zstream.ppu
> > Fatal: Can't find unit zstream
> > Fatal: Compilation aborted
> >
> > if zstream.ppu dont exists the error message should look a little bit
> > diffrent or not ?!
> >
> > have made :
> > make clean rtl compiler fcl packages utils rtl_install compiler_install
> > fcl_install packages_install utils_install
> >
> > everythibg builds and install great
> >
> > then i go to the lazarus dir and call
> > make
> >
> > and breaks with this errormessage
> >
> > Christian
> >
> >
> >
> >
> >>
> >> --
> >> Felipe Monteiro de Carvalho
> >> ___
> >> fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
> >> http://lists.freepascal.org/mailman/listinfo/fpc-pascal
> >
> > ___
> > fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
> > http://lists.freepascal.org/mailman/listinfo/fpc-pascal
> >
> >
>
> ___
> fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-pascal

___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


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.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


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\lazarus\fpc\bin\i386-win32
When it woud be so easy i woudnt write to this list but i think its an fpc
issue.


Christian

___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


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:
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, checksum changed for paszlib
PPU Loading D:\Programme\lazarus\fpc\2.1.1\units\i386-win32\fcl\zstream.ppu
Fatal: Can't find unit zstream
Fatal: Compilation aborted

if zstream.ppu dont exists the error message should look a little bit 
diffrent or not ?!


have made :
make clean rtl compiler fcl packages utils rtl_install compiler_install 
fcl_install packages_install utils_install


everythibg builds and install great

then i go to the lazarus dir and call
make

and breaks with this errormessage

Christian






--
Felipe Monteiro de Carvalho
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal 


___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal




___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


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 zstream
Fatal: Compilation aborted

if zstream.ppu dont exists the error message should look a little  
bit diffrent or not ?!


The error message looks like that if the zstream.ppu file is outdated  
(because then the zstream.ppu file is ignored).



have made :
make clean rtl compiler fcl packages utils rtl_install  
compiler_install fcl_install packages_install utils_install


everythibg builds and install great


But did it install into D:\Programme\lazarus\fpc\2.1.1\ ?


then i go to the lazarus dir and call
make


And does this invocation of "make" use the newly compiled compiler?


Jonas
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


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, checksum changed for paszlib
PPU Loading D:\Programme\lazarus\fpc\2.1.1\units\i386-win32\fcl\zstream.ppu
Fatal: Can't find unit zstream
Fatal: Compilation aborted

if zstream.ppu dont exists the error message should look a little bit 
diffrent or not ?!


have made :
make clean rtl compiler fcl packages utils rtl_install compiler_install 
fcl_install packages_install utils_install


everythibg builds and install great

then i go to the lazarus dir and call
make

and breaks with this errormessage

Christian






--
Felipe Monteiro de Carvalho
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal 


___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


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.

> This has no place on this thread.

Debatebale.

Please refrain from ordering me to do *anything* and then maybe we can all
speak like adults. I at least had the courtesy to say "please" and certainly
didn't assume any form of authority over you.

___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


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-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


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 trick
that lets you have a property that implements an interface. Assuming FPC
supports that, if you need to refer to the class that owns the property, you
simply add a property of the correct interface type that the owner
implements and then set it on creation. Having said all that, if you go OTT
with this, there are a number of bugs I found (at least in Delphi 5) that
make A/V's happen quite frequently.

Okay, if that option is not available, use a design pattern, like the
Adaptor or  Mediator , or cheat. I wrote a basic wrapper for the Be API in
Free Pascal (not the one that you may have heard of - that was occo, mine
was more like the Kylix Qt wrappers.) But what I found was that I needed to
do things that the BeAPI didn't support. So I wrote a glue library in C++
that took each control and added the features I wanted at the level I needed
them in C++. I then created an "abstract" class tree to represent each
Pascal class, with lots of protected members. I then promoted the methods
and properties I needed as and when I needed them. This strikes me as what
you need.

Alternatively, look at the way occo did it for BeOS.
http://www.sf.net/projects/befpc . An older version of my (now lost) code is
there too.

Oh, whilst were speaking, please stop mentioning Lazarus every time people
mention Kylix on the B.P.D.Non-tech news group. It's tiresome. All you'll
end up doing is making people realize that Kylix did more than Lazarus does
at the moment in Kylix 1. You're turning more people off than on IMHO.


___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


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.freepascal.org/wiki/index.php/WinCE_port#Building_FPC_libraries

--
Felipe Monteiro de Carvalho
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


[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 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 zstream
Fatal: Compilation aborted

but how can it be for an clean compiled fpc ?!
i have deleted all old files.

regards
Christian 


___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


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 
specialize them explicitly. We won't follow the C++ mess with auto 
specialization of operators and functions.



supported too ? Could

someone of core developers explain the intended syntax for generics and 
give few


basic examples ?


tgeneric*.pp in http://svn.freepascal.org/svn/fpc/trunk/tests/test/

But this still could change so don't submit bug reports if we change the 
syntax or semantic ;)

___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


[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

___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


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.


There is such feature in Qt progress bar also.
I have used it in a Qt app, and wrote something simillar for a Delphi
app. I think this is a nice to have although not very used feature.
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


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 is working.
My 2 cents ;o)


I tend to agree with you.  There are many other ways to display that
the program is still working.  I will add it to the fpGUI wishlist,
but there is more important things to complete first.

Graeme.
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


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 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
> couldn't remember where.
>

See GNOME HIG:
[http://developer.gnome.org/projects/gup/hig/2.0/controls-progress-bars.html],
at the bottom: "Indeterminate-progress indicator".

"
An animated bar indicating only that an operation is ongoing, not how
long it will take.
"

Michalis
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal




--
There's no place like 127.0.0.1
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


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
couldn't remember where.

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. 
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 is working.

My 2 cents ;o)
--
Marc
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


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 like 127.0.0.1
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal