Re: [fpc-devel] Adding a unidirectional dataset to sqldb

2006-10-18 Thread Michael Van Canneyt
On Tue, 17 Oct 2006, Joost van der Sluis wrote: On Fri, 2006-10-06 at 07:51 +0200, Martin Schreiber wrote: On Thursday 05 October 2006 22.41, Joost van der Sluis wrote: Now I'm thinking about using an interface, to avoid double code. But I don't know what effect that has on

[fpc-devel] CmdLine

2006-10-18 Thread Micha Nelissen
Hi, Does the CmdLine variable in the System unit exist for Delphi/TP/... compatibility ? Micha ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel

Re: [fpc-devel] CmdLine

2006-10-18 Thread Daniël Mantione
Op Wed, 18 Oct 2006, schreef Micha Nelissen: Hi, Does the CmdLine variable in the System unit exist for Delphi/TP/... compatibility ? Delphi compatibility. By the way, I have a patch ready which turns it into a property, which prevents some code being pulled in Hello World kind of apps.

Re: [fpc-devel] CmdLine

2006-10-18 Thread Peter Vreman
Does the CmdLine variable in the System unit exist for Delphi/TP/... compatibility ? Delphi compatibility. By the way, I have a patch ready which turns it into a property, which prevents some code being pulled in Hello World kind of apps. That is the best solution. It will then also be

Re: [fpc-devel] CmdLine

2006-10-18 Thread Daniël Mantione
Op Wed, 18 Oct 2006, schreef Michael Van Canneyt: On Wed, 18 Oct 2006, Peter Vreman wrote: Does the CmdLine variable in the System unit exist for Delphi/TP/... compatibility ? Delphi compatibility. By the way, I have a patch ready which turns it into a property, which

Re: [fpc-devel] CmdLine

2006-10-18 Thread Micha Nelissen
Daniël Mantione wrote: By the way, I have a patch ready which turns it into a property, which prevents some code being pulled in Hello World kind of apps. Would be nice if somehow smartlinking could be 'smartened' to optimize this out. (Conditional initialization for group of

Re: [fpc-devel] CmdLine

2006-10-18 Thread Daniël Mantione
Op Wed, 18 Oct 2006, schreef Micha Nelissen: Daniël Mantione wrote: By the way, I have a patch ready which turns it into a property, which prevents some code being pulled in Hello World kind of apps. Would be nice if somehow smartlinking could be 'smartened' to optimize this out.

Re: [fpc-devel] CmdLine

2006-10-18 Thread Micha Nelissen
Daniël Mantione wrote: Op Wed, 18 Oct 2006, schreef Micha Nelissen: Would be nice if somehow smartlinking could be 'smartened' to optimize this out. (Conditional initialization for group of variables/functions?) Yes :) I thought at least a hundred times about it during the last ten

Re: [fpc-devel] CmdLine

2006-10-18 Thread Daniël Mantione
Op Wed, 18 Oct 2006, schreef Micha Nelissen: Daniël Mantione wrote: Op Wed, 18 Oct 2006, schreef Micha Nelissen: Would be nice if somehow smartlinking could be 'smartened' to optimize this out. (Conditional initialization for group of variables/functions?) Yes :) I thought at

Re: [fpc-devel] CmdLine

2006-10-18 Thread Micha Nelissen
Daniël Mantione wrote: I have considered the use of units. But if you need a unit for something like cmdline, and start applying this technique to other things in the system unit, it becomes one mess of helper units. To be able to smartlink this situation, you *need* to group them somehow.

Re: [fpc-devel] CmdLine

2006-10-18 Thread Micha Nelissen
Daniël Mantione wrote: something like cmdline, and start applying this technique to other things in the system unit, it becomes one mess of helper units. Btw, I don't think have any right to say this, looking at all the include files in the fpc source itself ;-). unix - linux - objpas - inc

[fpc-devel] request for new compiler option

2006-10-18 Thread peter green
i'd like a way to tell the compiler not to allow implicit conversions between certain types (e.g. ansi/shortstrings and widestrings) this would make it much easier to clean up existing code that carelessly converts between two sort of but not very compatible types.