03.01.2019 6:32, Ryan Joseph пишет:
On Jan 2, 2019, at 8:25 PM, Alexander Shishkin via fpc-pascal
wrote:
This is not consistent with constraints. Should be ";" after T.
And what about following examples?
The semicolon is only needed following a generic parameter which is
constrained. T
On Thu, 3 Jan 2019 14:58:00 +0300
Alexander Shishkin via fpc-pascal
wrote:
>[...]
> This is OK (both T and U are integer):
> generic TMyRecord1 = record end;
That is inconsistent to normal Pascal arguments.
Name[, Name ...][:type]
Isn't it?
Mattias
___
Am Do., 3. Jan. 2019, 12:58 hat Alexander Shishkin via fpc-pascal <
fpc-pascal@lists.freepascal.org> geschrieben:
> 03.01.2019 6:32, Ryan Joseph пишет:
> >
> >
> >> On Jan 2, 2019, at 8:25 PM, Alexander Shishkin via fpc-pascal <
> fpc-pascal@lists.freepascal.org> wrote:
> >>
> >> This is not consi
03.01.2019 15:45, Mattias Gaertner via fpc-pascal пишет:
On Thu, 3 Jan 2019 14:58:00 +0300
Alexander Shishkin via fpc-pascal
wrote:
[...]
This is OK (both T and U are integer):
generic TMyRecord1 = record end;
That is inconsistent to normal Pascal arguments.
Name[, Name ...][:type]
Isn't
What is that? I'm seeing that compiler warning in my fpGUI projects too?
Since I upgraded to 3.0.4 using Linux 64-bit. It was not there in FPC 2.6.4.
Below is a sample output done by Joost, which shows the same warning in
a simple One Form LCL based project.
Forwarded Message
Am Do., 3. Jan. 2019, 14:24 hat Alexander Shishkin via fpc-pascal <
fpc-pascal@lists.freepascal.org> geschrieben:
> 03.01.2019 15:45, Mattias Gaertner via fpc-pascal пишет:
> > On Thu, 3 Jan 2019 14:58:00 +0300
> > Alexander Shishkin via fpc-pascal
> > wrote:
> >
> >> [...]
> >> This is OK (both
On Thu, Jan 3, 2019 at 3:13 PM Graeme Geldenhuys
wrote:
> What is that? I'm seeing that compiler warning in my fpGUI projects too?
> Since I upgraded to 3.0.4 using Linux 64-bit. It was not there in FPC 2.6.4.
That one has been around for some time now on *nix.
The linker wants that file.
There'
> On Jan 3, 2019, at 6:20 AM, Sven Barth via fpc-pascal
> wrote:
>
> Correct. ";" separates different parameter types, "," separates those of the
> same type. Though I agree with Mattias that "const T, const U" (with or
> without ": Integer") should not work (but then "T, const U" should als
On Thu, Jan 3, 2019 at 5:34 PM Bart wrote:
> There's a commandline argument to gcc that will tell you where it is.
bart@simenon ~ $ gcc --print-file-name crtbeginS.o
/usr/lib/gcc/x86_64-linux-gnu/5/crtbeginS.o
from /etc/fpc.cfg:
# path to the gcclib
#ifdef cpui386
#-Fl/usr/lib/gcc/x86_64-linux-
On 03/01/2019 16:34, Bart wrote:
> Then add that path in the appropriate place in fpc.cfg
> (At least I did that on Mint 18.2 and Suse Tumbleweed)
Thanks for the reply and your second email. I normally code under
FreeBSD (for the last 7 years), so maybe I already fixed it there, but
forgot about i
I put it on my user page on the wiki:
http://wiki.lazarus.freepascal.org/User:Bart#Notes_for_myself
Maybe there's an appropriate page it can gi into.
Bart
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/ma
Am 03.01.19 um 18:31 schrieb Bart:
I put it on my user page on the wiki:
http://wiki.lazarus.freepascal.org/User:Bart#Notes_for_myself
Maybe there's an appropriate page it can gi into.
I added it to the explanation of the compiler error.
___
fpc-pas
On Thu, Jan 3, 2019 at 6:34 PM Florian Klämpfl wrote:
> > Maybe there's an appropriate page it can gi into.
>
> I added it to the explanation of the compiler error.
I added it to the FAQ.
--
Bart
___
fpc-pascal maillist - fpc-pascal@lists.freepasca
Am Do., 3. Jan. 2019, 17:50 hat Ryan Joseph
geschrieben:
>
>
> > On Jan 3, 2019, at 6:20 AM, Sven Barth via fpc-pascal <
> fpc-pascal@lists.freepascal.org> wrote:
> >
> > Correct. ";" separates different parameter types, "," separates those of
> the same type. Though I agree with Mattias that "co
> On Jan 3, 2019, at 11:33 AM, Sven Barth via fpc-pascal
> wrote:
>
> The approach should be like this:
> - const is allowed at the start of the parameters or after a ";"
> - a parameter name is either followed by a ",", ";", ":" or ">" (that should
> already be the case)
> - a ":" is either
Am 03.01.2019 um 23:14 schrieb Ryan Joseph:
On Jan 3, 2019, at 11:33 AM, Sven Barth via fpc-pascal
wrote:
The approach should be like this:
- const is allowed at the start of the parameters or after a ";"
- a parameter name is either followed by a ",", ";", ":" or ">" (that should
already b
16 matches
Mail list logo