Re: [fpc-pascal] Another Delphi mode question :) -- classes as parameter

2006-07-13 Thread memsom
What IS true is that you can change the properties of S, even if it is passed by value or as const. But the pointer S cannot be changed. I desired to change the pointer; manifestly I have to pass it as var. Be aware that if you do this, you will lose the ability to pass any class that

[fpc-pascal] {$Mode Delph} usage

2006-07-13 Thread Graeme Geldenhuys
Hi, Can I mix the FPC Compiler Mode (between ObjFPC and Delphi) in a single project, but different unit files. Example: I am using an OPF framework where all units have {$Mode Delphi} declared, but my project that uses that framework (via compiled .ppu files only) uses {$Mode ObjFPC}. The OPF

Re: [fpc-pascal] {$Mode Delph} usage

2006-07-13 Thread Jonas Maebe
On 13 jul 2006, at 11:29, Graeme Geldenhuys wrote: Can I mix the FPC Compiler Mode (between ObjFPC and Delphi) in a single project, but different unit files. Yes, no problem. Jonas ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org

Re: [fpc-pascal] Another Delphi mode question :) -- classes as parameter

2006-07-13 Thread Alexandre Leclerc
2006/7/13, memsom [EMAIL PROTECTED]: Be aware that if you do this, you will lose the ability to pass any class that descends from the param type. Var params have to be the smae type exactly. The Delphi compiler will halt on an error if the exact type isn't used (though, thinking about it, the

[fpc-pascal] Trying to make a small makefile with fpcmake

2006-07-13 Thread Alexandre Leclerc
Hi all, I would like to create a small makefile to clean my source code. Eventually I also want to compile my application. (The software is a Lazarus project; I'm under win32). In the following structure I made two Makefile.fpc: ./Makefile.fpc ./bin/Makefile.fpc Code of ./Makefile.fpc:

Re: [fpc-pascal] Trying to make a small makefile with fpcmake

2006-07-13 Thread Jonas Maebe
On 13 jul 2006, at 16:49, Alexandre Leclerc wrote: n the following structure I made two Makefile.fpc: ./Makefile.fpc ./bin/Makefile.fpc Code of ./Makefile.fpc: [target] dirs=bin [rules] clean: clean $(MAKE) -C bin clean You have to put a tab character in front of the $(MAKE) .. command.

Re: [fpc-pascal] Trying to make a small makefile with fpcmake

2006-07-13 Thread Vinzent Hoefler
On Thursday 13 July 2006 14:49, Alexandre Leclerc wrote: Now when I execute, I get a problem: make clean makefile:1341: *** missing separator. Stop. This is GNUmake. You need TAB chars instead of spaces in your rule-commands: clean: clean   $(MAKE) -C bin clean ^ about here Vinzent.

Re: [fpc-pascal] Trying to make a small makefile with fpcmake

2006-07-13 Thread Alexandre Leclerc
2006/7/13, Jonas Maebe [EMAIL PROTECTED]: On 13 jul 2006, at 16:49, Alexandre Leclerc wrote: n the following structure I made two Makefile.fpc: ./Makefile.fpc ./bin/Makefile.fpc Code of ./Makefile.fpc: [target] dirs=bin [rules] clean: clean $(MAKE) -C bin clean You have to put a

Re: [fpc-pascal] Trying to make a small makefile with fpcmake

2006-07-13 Thread Vinzent Hoefler
On Thursday 13 July 2006 14:58, Alexandre Leclerc wrote: You won a piece of robot! Oh man. And I was just two minutes late. ;) ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

[fpc-pascal] latest fpc lazarus : breakpoints do not work

2006-07-13 Thread Alexandre Leclerc
Latest fpc/lazarus sources; having breakpoint always leads to an error; they are not working: Execution halted? Address: $004B7D7F Procedure: FRMOPTIONSSELECTOR_TOPTIONSSELECTORFORM_$__FORMCREATE$OBJECT File: (one day an assembler windows could appear here.) It is doing this on all

Re: [fpc-pascal] latest fpc lazarus : breakpoints do not work

2006-07-13 Thread Vincent Snijders
Alexandre Leclerc wrote: Latest fpc/lazarus sources; having breakpoint always leads to an error; they are not working: Execution halted? Address: $004B7D7F Procedure: FRMOPTIONSSELECTOR_TOPTIONSSELECTORFORM_$__FORMCREATE$OBJECT File: (one day an assembler windows could appear here.) It is

Re: [fpc-pascal] latest fpc lazarus : breakpoints do not work

2006-07-13 Thread Alexandre Leclerc
2006/7/13, Vincent Snijders [EMAIL PROTECTED]: If latest fpc means fpc 2.1.1, maybe you can try with fpc 2.0.2. Yes, I'm always using svn trees... Right now I always revert back to my latest succesful compile (revision 3823... There is no revision number in fpc version as in lazarus; but I

Re: [fpc-pascal] Internal error 200203271

2006-07-13 Thread Steve Williams
Marco van de Voort wrote: D:/repo/fpcex/compiler/ppcrossarm.exe -Tlinux -Parm -XParm-linux- -Xc -Xr -XX -C X -Ur -Xs -O2 -n -Fuglib -Fuatk -Fupango -Fugtk+/gdk-pixbuf -Fugtk+/gdk -Fugtk+/ gtk -Fulibglade -Fugtkglext -FuD:/repo/fpcex/rtl/units/arm-linux -FDd:\repo\cros s\arm-linux -FE.

[fpc-pascal] Using the interrupt keyword in FPC for DOS

2006-07-13 Thread Andreas Berger
FPC has the interrupt keyword on GO32V2. Is this the same as that used in TP/BP? There I could declare an interrupt function like: procedure ISR(Flags, CS, IP, AX, BX, CX, DX,| SI, DI, DS, ES, BP : WORD); interrupt; Is this the same in FPC? In what order are the register variables?

[fpc-pascal] Error linking Lazarus

2006-07-13 Thread Bob
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I have installed FPC-2.0.2 from sources on a freebsd 6.1 server; all went well and the compiler functions/compiles all my sources flawlessly. I then downloaded the Lazarus sources, which compile fine, but fails upon linking thus: Free Pascal