We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Cannot compile under Delphi 12, the compiler throws an error:
[dcc32 Error] SynCrtSock.pas(5381): E1012 Constant expression violates subrange bounds
It seems this is no longer valid under Delphi 12.
Handle := -1;
We could change that to:
Handle := THandle(-1);
There are 2 lines in SynCrtSock.pas we should change: TCrtSocket.CreateSockIn and TCrtSocket.CreateSockOut
SynCrtSock.pas
TCrtSocket.CreateSockIn
TCrtSocket.CreateSockOut
The text was updated successfully, but these errors were encountered:
fixed Delphi 12 compilation error
7c4e62b
- as reported by #448 - with the same fix already included in mORMot 2
Please try with the last commit.
Just a backport what we did in mORMot 2.
Sorry, something went wrong.
Yes, that fixed the compile issue.
No branches or pull requests
Cannot compile under Delphi 12, the compiler throws an error:
It seems this is no longer valid under Delphi 12.
Handle := -1;
We could change that to:
Handle := THandle(-1);
There are 2 lines in
SynCrtSock.pas
we should change:TCrtSocket.CreateSockIn
andTCrtSocket.CreateSockOut
The text was updated successfully, but these errors were encountered: