[fpc-pascal] TPicture (Graphics unit)

2009-06-06 Thread Leonardo M . Ramé
Hi, I'm porting a Delphi application from Windows to FreeBSD, and one of my unit uses the TPicture class. In Delphi this class can be found in Graphics.pas, but I can't find it in FPC. Is this class replaced by a similar one? I'm using FPC 2.2.4. Leonardo M. Ramé http://leonardorame.blogspot.

Re: [fpc-pascal] Records as properties and Delphi compiler error

2009-06-06 Thread Jonas Maebe
On 06 Jun 2009, at 17:36, fpcl...@silvermono.co.za wrote: Is there a reason why the following code fails to compile in Delphi but compile in FPC? Could the reason be that FPC allows the use of global properties? No, it's an error in FPC which has been fixed in 2.3.1: http://wiki.freepascal

[fpc-pascal] Records as properties and Delphi compiler error

2009-06-06 Thread fpclist
Hi Guys, Is there a reason why the following code fails to compile in Delphi but compile in FPC? Could the reason be that FPC allows the use of global properties? Tested with Delphi 5 and up. The Delphi compiler complains about the lines: TestClass.TestRec.X := 10; TestClass.TestRec.Y := 20; wi

Re: [fpc-pascal] fpmake: output directories

2009-06-06 Thread Peter Vreman
Maybe this can be used for debug/release. I don't see how this can be used for the widgetsets. Why not ? you can use subtarget=gtk2-debug How can I pass sub targets to fppkg? fppkg -c You can already use this now for cross-compiling. Under Linux you can test it with: - Copy ~/.fppkg/conf