Re: [fpc-pascal] Build script on Windows

2016-10-11 Thread Jonas Maebe
Ryan Joseph wrote: > I’m doing some tests with SDL and I’d like to build the program to work on > Windows. I’d like to to automate the build with a script but I can’t seem to > figure out even the basics of how to make this work (I develop on Mac). I > used Lazarus briefly but it seemed easier t

Re: [fpc-pascal] Smart Link definition ?

2016-10-11 Thread LacaK
What is difference between "Link smart (-XX)" and "Smart linkable (-XC)" ? -XC is by default off and corresponds to per unit {$SMARTLINK OFF/ON} ? -CX (not -XC) means "generate code that can be smart linked by the linker if you specify -XX while compiling a program that uses this unit". Clear.

Re: [fpc-pascal] LowerCase vs. UnicodeLowerCase

2016-10-11 Thread Santiago A.
El 05/10/2016 a las 9:23, Graeme Geldenhuys escribió: > On 2016-10-05 08:11, LacaK wrote: >> Now I understand what happens, but isn't it bit confusing ? > Yup, I would agree, and if possible, one should be removed. Yes and no. Yes, probably in this case one of them should be removed, but the reas

Re: [fpc-pascal] LowerCase vs. UnicodeLowerCase

2016-10-11 Thread Marco van de Voort
In our previous episode, Santiago A. said: > I think that "automatic overriding" is a wrong design from the first > turbo pascal and should be fixed. The need of overriding system > functions like memory managers is a corner case to treat, not a reason > to not solve the unexpected hide of declarat

Re: [fpc-pascal] Build script on Windows

2016-10-11 Thread Ryan Joseph
> On Oct 11, 2016, at 2:04 PM, Jonas Maebe wrote: > > FPC is installed by default in c:\fpc, I think. The compiler binaries > are somewhere under there (c:\fpc\bin\win32 or so?). I think our > installer adds this directory to your PATH by default under Windows, so > you should be able to use the

Re: [fpc-pascal] Build script on Windows

2016-10-11 Thread Sven Barth
Am 11.10.2016 10:35 schrieb "Ryan Joseph" : > Ok, I did some more research and found that fpc is at c:\lazarus\fpc\2.6.4\bin\i386-win32 and a “dir” command shows there is a fpc.exe that works. Note just “fpc” doesn’t work so I guess I need to add that myself but I’m struggling trying to figure out

Re: [fpc-pascal] LowerCase vs. UnicodeLowerCase

2016-10-11 Thread Santiago A.
El 11/10/2016 a las 10:03, Marco van de Voort escribió: > In our previous episode, Santiago A. said: >> I think that "automatic overriding" is a wrong design from the first >> turbo pascal and should be fixed. The need of overriding system >> functions like memory managers is a corner case to treat

Re: [fpc-pascal] Build script on Windows

2016-10-11 Thread Sandro Cumerlato
I find convenient create a batch file "_buil.bat" to compile a specific project under Windows, targeting bot i386 and x86_64 in sequence at once. You can add parameters to set searching paths, output directory, compiler flags, etc... it is hard retype the entire command line every time. Best rega

Re: [fpc-pascal] LowerCase vs. UnicodeLowerCase

2016-10-11 Thread Marcos Douglas
On Tue, Oct 11, 2016 at 7:21 AM, Santiago A. wrote: > My two cents: > > Whenever there is a conflict, an ambiguity, you must full qualify the > identifier otherwise the compiler will complain. > For the special cases, when you need to hide the declaration, you could > use the directive "override"

Re: [fpc-pascal] LowerCase vs. UnicodeLowerCase

2016-10-11 Thread Santiago A.
El 11/10/2016 a las 14:15, Marcos Douglas escribió: > > But what I do, for years, is import my units using an order by That's what everybody does, otherwise you run into a troubles. The problem is when you change the order unnoticed The problem is when you use non standard packages and you don't k

Re: [fpc-pascal] LowerCase vs. UnicodeLowerCase

2016-10-11 Thread Marcos Douglas
On Tue, Oct 11, 2016 at 11:57 AM, Santiago A. wrote: > Being aware of the order is a workaround that works, but it doesn't mean > that relying on the order is the best idea. Of course, no doubts about it. Regards, Marcos Douglas ___ fpc-pascal maillist

Re: [fpc-pascal] Smart Link definition ?

2016-10-11 Thread fredvs
fredvs wrote: > In ld doc: > http://sourceware.org/binutils/docs-2.16/ld/Options.html > > > => -X --discard-locals > Delete all temporary local symbols. For most targets, this is all local > symbols whose names begin with L. > >

[fpc-pascal] The Next Release

2016-10-11 Thread Tony Whyman
What's the timetable for the next release? Can we assume that all of "trunk" will be in it or will it be more nuanced? Tony Whyman MWA ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fp

Re: [fpc-pascal] The Next Release

2016-10-11 Thread Sven Barth
Am 11.10.2016 19:57 schrieb "Tony Whyman" : > > What's the timetable for the next release? Can we assume that all of "trunk" will be in it or will it be more nuanced? The next release will be 3.0.2 (soonish) which will contain quite some fixes compared to 3.0.0, but definitely not everything and m

Re: [fpc-pascal] LowerCase vs. UnicodeLowerCase

2016-10-11 Thread Marco van de Voort
In our previous episode, Santiago A. said: > > > > A different route would to fix that (like Modula2 or "qualified" importing > > like in again M2 but also GPC). > My two cents: > > Whenever there is a conflict, an ambiguity, you must full qualify the > identifier otherwise the compiler will compl

Re: [fpc-pascal] The Next Release

2016-10-11 Thread Marco van de Voort
In our previous episode, Tony Whyman said: > What's the timetable for the next release? Should be out 2 months ago. Problems with documentation tool are delaying. > Can we assume that all of > "trunk" will be in it or will it be more nuanced? It is a fixes to 3.0 only, no new language features