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

Delphi 2010 with combination of reintroduce & overload #205

Closed
AntoineGS opened this issue Jun 15, 2023 · 0 comments
Closed

Delphi 2010 with combination of reintroduce & overload #205

AntoineGS opened this issue Jun 15, 2023 · 0 comments

Comments

@AntoineGS
Copy link

constructor Create(const aPort: RawUtf8; const OnStart, OnStop: TOnNotifyThread;
const aProcessName: RawUtf8; ServerThreadPoolCount: integer;
const aWebSocketsURI, aWebSocketsEncryptionKey: RawUtf8;
aWebSocketsAjax: boolean; ProcessOptions: THttpServerOptions); reintroduce; overload;

Delphi 2010 does not like the combination of reintroduce and overload in that constructor.
I tested with D11 and it works fine, but in 2010 I get the following:
[DCC Error] WebSocketServer_Tests.pas(271): E2250 There is no overloaded version of 'Create' that can be called with these arguments

Removing the overload directive works, but it does hide the parent's Create, though from what I can see it is not currently utilized within the framework.
I do not have access to other versions of Delphi to test though, so I am not sure what versions work.

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

1 participant