[fpc-devel] Compiling problems

2006-12-03 Thread Lloyd Thomas
I am getting the following errors when trying to compile linux libraries /usr/bin/ld: /opt/fpc/lib/fpc/2.0.4/units/x86_64-linux/rtl/system.o: relocation R_X86_64_32S against `TC_SYSTEM_ISMULTITHREAD' can not be used when making a shared object; recompile with -fPIC Do you have any ideas how I

[fpc-devel] Valid macpas syntax ?

2006-12-03 Thread Marc Weustink
Hi, While using lazarus's finddeclaration I ran in to following errors, and I wonder if it is a valid syntax. Since I'm not that deep into macpas syntax, I ask it here. 1) using out as parametername [FPCMacOSAll:16450] type CGFunctionEvaluateCallback = procedure( info: UnivPtr; inp: {const}

Re: [fpc-devel] Valid macpas syntax ?

2006-12-03 Thread Marco van de Voort
While using lazarus's finddeclaration I ran in to following errors, and I wonder if it is a valid syntax. Since I'm not that deep into macpas syntax, I ask it here. 1) using out as parametername [FPCMacOSAll:16450] type CGFunctionEvaluateCallback = procedure( info: UnivPtr; inp:

Re: [fpc-devel] Valid macpas syntax ?

2006-12-03 Thread Jonas Maebe
On 03 Dec 2006, at 18:05, Marc Weustink wrote: 1) using out as parametername out is not a reserved word in macpas mode, just like in tp/fpc modes. 2) the * behind msgb (and what does it mean ?) [FPCMacOSAll:80638] type msgbPtr = ^msgb; msgb = record b_next: struct msgb *; { next

Re: [fpc-devel] Valid macpas syntax ?

2006-12-03 Thread Mattias Gaertner
On Sun, 3 Dec 2006 18:54:25 +0100 Jonas Maebe [EMAIL PROTECTED] wrote: On 03 Dec 2006, at 18:05, Marc Weustink wrote: 1) using out as parametername out is not a reserved word in macpas mode, just like in tp/fpc modes. Thanks. I updated the codetools. 2) the * behind msgb (and