On Thu, 2 Apr 2015, Andrew Brunner wrote:
On 4/2/2015 11:46 AM, Michael Van Canneyt wrote:
Namespaces are available as dotted units ?
Namespace as dotted units? I use 3.1.1 compiled here so there is no problem.
FPC since as far as I recall (svn) has had support for naming units with
multip
On 2015-04-03 08:09, Michael Van Canneyt wrote:
> To be sure, it was introduced to be delphi compatible.
> Whether namespaces are 'modern','advanced' or not is a matter of debate.
> In the end (at the assembler level) it's all a flat namespace anyway.
But namespaces are functional in Delphi - not
On Fri, 3 Apr 2015, Graeme Geldenhuys wrote:
On 2015-04-03 08:09, Michael Van Canneyt wrote:
To be sure, it was introduced to be delphi compatible.
Whether namespaces are 'modern','advanced' or not is a matter of debate.
In the end (at the assembler level) it's all a flat namespace anyway.
On 2015-04-03 10:39, Michael Van Canneyt wrote:
>
> It's all a matter of preference.
Fair enough.
>> I take it FPC doesn't support this then?
>
> To my knowledge, it does ?
So what compiler parameter option do you use to specify the namespace
scope list for your project? As far as I can see
On Fri, 3 Apr 2015, Graeme Geldenhuys wrote:
On 2015-04-03 10:39, Michael Van Canneyt wrote:
It's all a matter of preference.
Fair enough.
I take it FPC doesn't support this then?
To my knowledge, it does ?
So what compiler parameter option do you use to specify the namespace
scope
On 2015-04-03 11:52, Michael Van Canneyt wrote:
>
> I don't think the command-line option already exists, but the dotted unit
> names are treated as namespaces. I remember some discussions about it with
> Paul Ishenin.
So that answers my original question, that FPC still doesn't support
namespa
On 2015-04-03 10:39, Michael Van Canneyt wrote:
> you just change one option -Fu/GUI/LCL to 2: -Fu/GUI -NLCL
> I don't see much added value in that.
Other possibly (more useful) usage would be reducing the generic unit
name clashes. eg: How common is the unit name constants.pas? Very
common. So wh
On Fri, 3 Apr 2015, Graeme Geldenhuys wrote:
On 2015-04-03 11:52, Michael Van Canneyt wrote:
I don't think the command-line option already exists, but the dotted unit
names are treated as namespaces. I remember some discussions about it with Paul
Ishenin.
So that answers my original quest
In our previous episode, Graeme Geldenhuys said:
>
> But namespaces are functional in Delphi - not just cosmetic. So are you
> saying that FPC doesn't have the same functional ability as Delphi when
> it comes to namespaces?
>
> The following is how somebody explained Delphi namespaces to me:
>
On 2015-04-03 12:35, Marco van de Voort wrote:
>> > That way we don't need $IFDEFs or special Unit Search Paths, just
>> > specify "FMX" or "VCL or "LCL" in the Project Unit Scope names list.
>> >
>> > You then simply refer to those units in your uses clause by using:
> Not entirely, since you can
In our previous episode, Graeme Geldenhuys said:
> I understand that, but in the context of the example, the tiOPF project
> has different implementations of the same functionality for different
> GUI toolkits. So in that case the developer would use the partial
> namespace unit name (tiMediator or
There are some major differences between the way Windows and Unix allow
locking of files with their api's, but is it possible to make a cross
platform LockFile() procedure or function for both unix and windows?
By file locking I of course mean when for example you have to write data
to a file but
I wrote:
> There are some major differences between the way Windows and Unix allow
> locking of files with their api's, but is it possible to make a cross
> platform LockFile() procedure or function for both unix and windows?
There is of course fpFlock for unix,
http://www.freepascal.org/docs-ht
On Fri, 3 Apr 2015, no reply wrote:
There are some major differences between the way Windows and Unix allow
locking of files with their api's, but is it possible to make a cross
platform LockFile() procedure or function for both unix and windows?
By file locking I of course mean when for exam
14 matches
Mail list logo