Bart via fpc-devel schrieb am So., 23.
Feb. 2020, 16:35:
> However, this will compile also:
>
> Function Second : Real; [Public name ’second’];
> begin
> Second := 1;
> end;
>
> So, what is the correct syntax?
>
Both are correct. The brackets allow a comma separated list of directives.
However
On Sun, Feb 23, 2020 at 4:48 PM Mattias Gaertner via fpc-devel
wrote:
> The [] is the old syntax.
> It bites attributes, so better not use it.
Ok, I updated a wiki example that used the old syntax.
--
Bart
___
fpc-devel maillist - fpc-devel@lists.f
On Sun, 23 Feb 2020 16:35:28 +0100
Bart via fpc-devel wrote:
> Hi,
>
> I'm a little confused.
>
> From:
> https://www.freepascal.org/docs-html/ref/refsu81.html
>
> This page gives 2 examples.
>
> Function Second : Real; [Public];
> begin
> Second := 1;
> end;
>
> and
>
> Function Second :
Hi,
I'm a little confused.
From:
https://www.freepascal.org/docs-html/ref/refsu81.html
This page gives 2 examples.
Function Second : Real; [Public];
begin
Second := 1;
end;
and
Function Second : Real; Public name ’second’;
begin
Second := 1;
end;
In the first, Public is in brackets, in t
Op 2020-02-23 om 14:55 schreef Bart via fpc-devel:
On Sun, Feb 23, 2020 at 2:08 PM Marco van de Voort
wrote:
Docs are mostly unversioned, so there is only "trunk" atm. I corrected
it in SVN
Finding where is what in
https://svn.freepascal.org/cgi-bin/viewvc.cgi/trunk/?root=docs isn't
always t
On Sun, Feb 23, 2020 at 2:08 PM Marco van de Voort
wrote:
> Docs are mostly unversioned, so there is only "trunk" atm. I corrected
> it in SVN
Finding where is what in
https://svn.freepascal.org/cgi-bin/viewvc.cgi/trunk/?root=docs isn't
always that easy.
Thanks for fixing.
--
Bart
__
Op 2020-02-23 om 13:56 schreef Bart via fpc-devel:
https://www.freepascal.org/docs-html/rtl/sysutils/tarray.html
"it is not needed in Free Pascal, where 2 array types are equal if
they element types are equal"
"they" should be "their"
I was unable to find the trunk version of this, so I'm unsur
Hi,
https://www.freepascal.org/docs-html/rtl/sysutils/tarray.html
"it is not needed in Free Pascal, where 2 array types are equal if
they element types are equal"
"they" should be "their"
I was unable to find the trunk version of this, so I'm unsure whether
this might already be fixed.
--
Bart
Am 18.02.20 um 13:26 schrieb Alexander Hofmann via fpc-devel:
Dear all,
while investigating a bug in an application designed for ARM with
floating point emulation enabled, I stumbled upon the following problem:
Thanks for reporting and providing a fix, I committed it in r44235.
__