Re: [fpc-devel] Need advice for refactoring

2010-07-18 Thread Florian Klaempfl
Graeme Geldenhuys schrieb: > On 18 July 2010 22:35, Florian Klämpfl wrote: >> is: what happens if branch and trunk/another branch change the same >> line/tokens of code and then those branches are merged. A good vcs comes >> up with a conflict, a vcs trying to be too clever merges maybe both >> lin

[fpc-devel] (Re)compiling FPC or is there something like fpc.bpg?

2010-07-18 Thread Adem
[Please bear with me while I am trying to formulate this question; it is a tough one to do succinctly] If I am not mistaken, a version X of FPC is guaranteed to be compilable with version (X - 1). If that is so, I am assuming, one would not have to 'make' version X; meaning you could compil

Re: [fpc-devel] Need advice for refactoring

2010-07-18 Thread Graeme Geldenhuys
On 18 July 2010 22:35, Florian Klämpfl wrote: > is: what happens if branch and trunk/another branch change the same > line/tokens of code and then those branches are merged. A good vcs comes > up with a conflict, a vcs trying to be too clever merges maybe both > lines creating nonsense code or what

Re: [fpc-devel] Need advice for refactoring

2010-07-18 Thread Florian Klämpfl
Graeme Geldenhuys schrieb: > On 18 July 2010 02:58, Marc Weustink wrote: >> I don't doubt the ability to merge, but will it result in usable/meaningfull >> code too ? > > A silly question. Or you missed the contents of the question. The problem Marc brings up is: what happens if branch and trunk/

Re: [fpc-devel] Need advice for refactoring

2010-07-18 Thread Graeme Geldenhuys
On 18 July 2010 02:58, Marc Weustink wrote: > > I don't doubt the ability to merge, but will it result in usable/meaningfull > code too ? A silly question. Just take a look in the Git and Linux Kernel repository histories. Octopus Merges and normal 2-branch merges happen all the time, and in both

Re: [fpc-devel] FPC/Delphi/FastMM4/TopMemory speed test

2010-07-18 Thread Sven Barth
Hi! On 18.07.2010 11:34, Adem wrote: On 2010-07-18 11:41, Mattias Gaertner wrote: /usr/lib/fpc/2.4.1/units/i386 Translate this to some windows paths you like and adapt your fpc.cfg. Quick question. I took a look at 'Installing Lazarus' [ http://wiki.lazarus.freepascal.org/Installing_Lazarus

Re: [fpc-devel] How to get function start and end position in executable?

2010-07-18 Thread Žilvinas Ledas
Thanks, I'll try it! Regards Žilvinas On 2010-07-18 13:49, Jonas Maebe wrote: On 16 Jul 2010, at 12:56, Žilvinas Ledas wrote: I want to implement kind of executable protection using "software guards" (*) - when function (caller) decrypts another function (callee) before calling it and e

Re: [fpc-devel] How to get function start and end position in executable?

2010-07-18 Thread Jonas Maebe
On 16 Jul 2010, at 12:56, Žilvinas Ledas wrote: > I want to implement kind of executable protection using "software guards" (*) > - when function (caller) decrypts another function (callee) before calling it > and encrypts it again after callee returns. > As a result I need to get addresses of

Re: [fpc-devel] FPC/Delphi/FastMM4/TopMemory speed test

2010-07-18 Thread Adem
On 2010-07-18 11:41, Mattias Gaertner wrote: /usr/lib/fpc/2.4.1/units/i386 Translate this to some windows paths you like and adapt your fpc.cfg. Quick question. I took a look at 'Installing Lazarus' [ http://wiki.lazarus.freepascal.org/Installing_Lazarus ] and all the examples for paths have

Re: [fpc-devel] Purpose of "uses ... in"?

2010-07-18 Thread Marcos Douglas
On Fri, Jul 16, 2010 at 6:20 PM, Mattias Gaertner wrote: > On Thu, 15 Jul 2010 09:26:24 -0300 > Marcos Douglas wrote: > >> On Wed, Jul 14, 2010 at 6:35 PM, Stefan Kisdaroczi wrote: >> > I'm still using it. Or make a symlink: >> > ln -s rar/zip.pas rar.pas >> > >> > In combination with {$L xzy.o}

Re: [fpc-devel] FPC/Delphi/FastMM4/TopMemory speed test

2010-07-18 Thread Mattias Gaertner
On Sun, 18 Jul 2010 07:28:24 +0300 Adem wrote: > On 2010-07-17 23:08, Mattias Gaertner wrote: > > That's not needed. > > Use fpc.exe and it will call the right compiler. Make sure your fpc.cfg > > contains macros and the paths are right. > This is what I did: > > I installed 32bit version in f

Re: [fpc-devel] Need advice for refactoring

2010-07-18 Thread Florian Klaempfl
Graeme Geldenhuys schrieb: On 17/07/2010, Florian Klämpfl wrote: Hardy Heron: $ git --version git version 1.5.4.3 $ git clone http://github.com/graemeg/freepascal.git Initialized empty Git repository in /home/kla/freepascal/.git/ Getting alternates list for http://github.com/graemeg/freepas