Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

compile error on lazarus 2.3 #9

Closed
alas82 opened this issue Jan 29, 2023 · 1 comment
Closed

compile error on lazarus 2.3 #9

alas82 opened this issue Jan 29, 2023 · 1 comment

Comments

@alas82
Copy link

alas82 commented Jan 29, 2023

hello
i try to compile on Lazarus 2.3 i got below messages
Compile package MiniLib 1.0.2: Exit code 1, Errors: 3, Warnings: 2, Hints: 2
Hint: Start of reading config file C:\lazarus\fpc\bin\x86_64-win64\fpc.cfg
Hint: End of reading config file C:\lazarus\fpc\bin\x86_64-win64\fpc.cfg
Verbose: Free Pascal Compiler version 3.2.2-rrelease_3_2_2-0-g0d122c4953 [2023/01/22] for x86_64
Verbose: Copyright (c) 1993-2021 by Florian Klaempfl and others
Verbose: Target OS: Win64 for x64
Verbose: Compiling MiniLib.pas
Verbose: Compiling HejriDates.pas
Verbose: Compiling HejriUtils.pas
Verbose: Compiling UniDates.pas
Verbose: Compiling mnClasses.pas
mnClasses.pas(12,2) Warning: Illegal compiler switch "FUNCTIONREFERENCES+"
mnClasses.pas(12,34) Warning: Illegal compiler switch "ANONYMOUSFUNCTIONS+"
mnClasses.pas(26,11) Error: Identifier not found "Reference"
mnClasses.pas(26,21) Error: Error in type definition
mnClasses.pas(26,21) Error: Syntax error, ";" expected but "TO" found
Verbose: Compilation aborted
Verbose: C:\lazarus\fpc\bin\x86_64-win64\ppcx64.exe returned an error exitcode

please advise

@alas82 alas82 changed the title comile error on lazarus 2.3 compile error on lazarus 2.3 Jan 29, 2023
@zaher
Copy link
Member

zaher commented Jan 29, 2023

Use FPC 3.3.1 or above

@zaher zaher closed this as completed Jul 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants