Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-devel / 2023-11

Build error, main branch, compiler/options.pas 889:33

5 messages · 3 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Unknown author

I am getting an incorrect type error at line 889 column 33 in compiler/options.pas. This is the , following the parameter More to the function Copy. More is defined as a String. I do not understand why the function Copy would have a problem with a String as its first parameter. This is my first attempt to build the compiler. Am I making a newbie mistake here?
I am building on a Raspberry Pi, Bullseye, 64-bit with 8GB of RAM and a 1T drive.
Dave

Reply by email

Sven Barth
to Unknown author

drichards--- via fpc-devel schrieb am Sa.,
11. Nov. 2023, 08:22:

Show quoted text 9 lines
I am getting an incorrect type error at line 889 column 33 in compiler/options.pas. This is the , following the parameter More to the function Copy. More is defined as a String. I do not understand why the function Copy would have a problem with a String as its first parameter. This is my first attempt to build the compiler. Am I making a newbie mistake here? I am building on a Raspberry Pi, Bullseye, 64-bit with 8GB of RAM and a 1T drive.

How are you building the compiler?

Regards,
Sven

Reply by email

Unknown author
to Sven Barth

I changed to the compiler directory and typed make all.

Earlier message 28 lines
From: fpc-devel On Behalf Of Sven Barth via fpc-devel Sent: Saturday, November 11, 2023 12:17 AM To: FPC developers' list Cc: Sven Barth ; Subject: Re: [fpc-devel] Build error, main branch, compiler/options.pas 889:33 drichards--- via fpc-devel < > schrieb am Sa., 11. Nov. 2023, 08:22: I am getting an incorrect type error at line 889 column 33 in compiler/options.pas. This is the , following the parameter More to the function Copy. More is defined as a String. I do not understand why the function Copy would have a problem with a String as its first parameter. This is my first attempt to build the compiler. Am I making a newbie mistake here? I am building on a Raspberry Pi, Bullseye, 64-bit with 8GB of RAM and a 1T drive. How are you building the compiler? Regards, Sven

Reply by email

Unknown author
to Sven Barth: drichards--- via fpc-devel schrieb am Sa., 11. Nov. 2023, 08:22: How are you building…

I just re-tested. Make all fails in the same way whether I invoke it from the top directory or the compiler directory.

Earlier message 28 lines
From: fpc-devel On Behalf Of Sven Barth via fpc-devel Sent: Saturday, November 11, 2023 12:17 AM To: FPC developers' list Cc: Sven Barth ; Subject: Re: [fpc-devel] Build error, main branch, compiler/options.pas 889:33 drichards--- via fpc-devel < > schrieb am Sa., 11. Nov. 2023, 08:22: I am getting an incorrect type error at line 889 column 33 in compiler/options.pas. This is the , following the parameter More to the function Copy. More is defined as a String. I do not understand why the function Copy would have a problem with a String as its first parameter. This is my first attempt to build the compiler. Am I making a newbie mistake here? I am building on a Raspberry Pi, Bullseye, 64-bit with 8GB of RAM and a 1T drive. How are you building the compiler? Regards, Sven

Reply by email

Michael Van Canneyt
to Unknown author: I am getting an incorrect type error at line 889 column 33 in compiler/options.pas. This…
drichards--- wrote 9 lines
I am getting an incorrect type error at line 889 column 33 in compiler/options.pas. This is the , following the parameter More to the function Copy. More is defined as a String. I do not understand why the function Copy would have a problem with a String as its first parameter. This is my first attempt to build the compiler. Am I making a newbie mistake here? I am building on a Raspberry Pi, Bullseye, 64-bit with 8GB of RAM and a 1T drive. Dave

Make sure you use version 3.2.2 of the compiler to start the build.

This error is typical of the situation where you use another compiler to start the build.

Michael.

Reply by email