Re: [fpc-pascal] fpmake - compiled unit cleaning

2008-01-26 Thread Peter Vreman
> Michael wrote: >> 3 ways: > > Thanks.. added compiler option info to the fpmake wiki page. > > > Now I'm wondering..when I use "fpmake clean" it doesn't clean any units that > were compiled > implicitly.. i.e. units that were not called in with AddUnit, but compiled > because they were in > use

[fpc-pascal] fpmake - compiled unit cleaning

2008-01-26 Thread L
Michael wrote: 3 ways: Thanks.. added compiler option info to the fpmake wiki page. Now I'm wondering..when I use "fpmake clean" it doesn't clean any units that were compiled implicitly.. i.e. units that were not called in with AddUnit, but compiled because they were in uses clause of units

Re: [fpc-pascal] Re: FCL-DB/SQLDB docs started

2008-01-26 Thread Michael Van Canneyt
On Sat, 26 Jan 2008, Joost van der Sluis wrote: > Op vrijdag 25-01-2008 om 23:59 uur [tijdzone +], schreef Chris > Kirkpatrick: > > As far as I can see, there are no files relevant to fc-db or SQLDb in > > this repository. Have you committed your skeleton XMLs yet? If so, in > > which subd

Re: Re: [fpc-pascal] Where to find WinProcs or equivalent unit

2008-01-26 Thread Cleverson
Giuliano wrote: > The function GetPrivateProfileString is in the fpc Windows32 API > Library. A quick look to Winprocs shows that also other functions > defined there should be in the windows unit. > A "uses windows" clause in place of "uses Winprocs" should solve your > problem (hopefully :-) ) T

Re: [fpc-pascal] class constants

2008-01-26 Thread Marco van de Voort
> On 24 Jan 2008, at 20:27, Marco van de Voort wrote: > > > > To be honest, if we wouldn't be able to do that now, and a request for > > implementation came, my answer would be pretty much the same. > > I strongly disagree with that answer to those points. No surprise there. I know you are a bit

Re: [fpc-pascal] Re: FCL-DB/SQLDB docs started

2008-01-26 Thread Joost van der Sluis
Op vrijdag 25-01-2008 om 23:59 uur [tijdzone +], schreef Chris Kirkpatrick: > As far as I can see, there are no files relevant to fc-db or SQLDb in > this repository. Have you committed your skeleton XMLs yet? If so, in > which subdirectory? I just did, revision 373, in the root you can find

Re: [fpc-pascal] Where to find WinProcs or equivalent unit

2008-01-26 Thread Marco van de Voort
> Using FreePascal, I'm trying to compile an open source project written > originally in Delphi 6. > > Some units require Winprocs, for accessing > functions such as GetPrivateProfileString. I didn't find it amongst > FreePascal's installed units. I searched it in Google and got a WinProcs > unit

Re: [fpc-pascal] Where to find WinProcs or equivalent unit

2008-01-26 Thread Giuliano Colla
Cleverson ha scritto: Hi, Using FreePascal, I'm trying to compile an open source project written originally in Delphi 6. Some units require Winprocs, for accessing functions such as GetPrivateProfileString. I didn't find it amongst FreePascal's installed units. I searched it in Google and got a

[fpc-pascal] Re: fpmake - append compiler options

2008-01-26 Thread L
I wrote: Using fpmake, how does one append a compiler option like -dSOMEDEFINE Solution: Target.options:= '-dSOMEDEFINE'; ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Copying array raising exception

2008-01-26 Thread Joao Morais
Joao Morais wrote: writeln('now testing dynamic array'); setlength(v1, 5); v2 := copy(v1, 2, 10); writeln('length is: ', length(v2)); v2 := copy(v1, 6, 10); // <<-- here writeln('length is: ', length(v2)); end. will raise an exception, range check error iirc, trying to copy

Re: [fpc-pascal] fpmake - append compiler options

2008-01-26 Thread Michael Van Canneyt
On Sat, 26 Jan 2008, L wrote: > Using fpmake, how does one append a compiler option like > > -dSOMEDEFINE > > Or > > -xxSomeOptionNotIntegratedYet 3 ways: var T : TTarget; P : TPackage; T.Options:='-dSOMEDEFINE'; or P.Options:='-dSOMEDEFINE'; or Defaults.Options:='-dSOMEDEFINE'; Mayb

[fpc-pascal] fpmake - append compiler options

2008-01-26 Thread L
Using fpmake, how does one append a compiler option like -dSOMEDEFINE Or -xxSomeOptionNotIntegratedYet I will put this info in the FPMAKE wiki page if it is possible to do. Regards, L505 ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org ht